-
-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(snippets): improve Smooth Progress/Volume Bar
code
#680
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think this will be better:
@property --progress-bar-transform {
inherits: true;
initial-value: 0%;
syntax: '<percentage>';
}
.progress-bar {
transition: --progress-bar-transform 1s linear !important;
}
.progress-bar:hover, .progress-bar:active {
transition-duration: 150ms !important;
}
Hmm, okay, but that makes it do the jittery thing when you hover over it. |
Seems like if you take out the |
You can wait for this to be merged then |
I think it works well enough if you remove the |
as you wish |
…ify-marketplace into fix/smooth-progress-bar
Smooth Progress/Volume bar
code
Smooth Progress/Volume bar
codeSmooth Progress/Volume Bar
code
It was using the default ease timing function, so while it was smoother, it still had definite start/stop points. This makes it a fully smooth linear transition with no discernable steps.