css3 - Modifying the CSS steps() function -


so steps() animation looks (apologies hand-drawn graph):

steps

it kind of looks staircase, sudden shifts in displacement. if wanted transitions between steps bit more... gradual? this:

steps2

so though it's still staircase, it's less sudden in shift in displacement.

is possible create animation based on steps looks second image? ideally i'd have based off steps don't have hardcode in percentages manually.

yes, potentially can use css cubic bezier in order customize timing function.

please bare in mind experimental technology.

http://roblaplaca.com/blog/2011/03/11/understanding-css-cubic-bezier/

https://developer.mozilla.org/en-us/docs/web/css/animation-timing-function


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -