css3 - Modifying the CSS steps() function -
so steps() animation looks (apologies hand-drawn graph):
it kind of looks staircase, sudden shifts in displacement. if wanted transitions between steps bit more... gradual? this:
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
Post a Comment