Skip to content

Commit

Permalink
feat(slider): add feature targeting for styles
Browse files Browse the repository at this point in the history
Adds support for style feature targeting to the `slider` package.

Relates to material-components#4227.
  • Loading branch information
crisbeto committed Jul 2, 2019
1 parent 0657504 commit a204677
Show file tree
Hide file tree
Showing 4 changed files with 404 additions and 258 deletions.
22 changes: 12 additions & 10 deletions packages/mdc-slider/_keyframes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,19 @@
// THE SOFTWARE.
//

@keyframes mdc-slider-emphasize {
0% {
animation-timing-function: ease-out;
}
@mixin mdc-slider-emphasize-keyframes_ {
@keyframes mdc-slider-emphasize {
0% {
animation-timing-function: ease-out;
}

50% {
animation-timing-function: ease-in;
transform: scale(.85);
}
50% {
animation-timing-function: ease-in;
transform: scale(.85);
}

100% {
transform: scale(.571);
100% {
transform: scale(.571);
}
}
}
Loading

0 comments on commit a204677

Please sign in to comment.