| 1 |
@import "lib/_bourbon.scss"; |
| 2 |
|
| 3 |
box:hover { |
| 4 |
@include animation-name(scale, slide); |
| 5 |
@include animation-duration(2s); |
| 6 |
@include animation-timing-function(ease); |
| 7 |
@include animation-iteration-count(infinite); |
| 8 |
|
| 9 |
// Animation shorthand works the same as the CSS3 animation shorthand |
| 10 |
@include animation(scale 1s ease-in, slide 2s ease); |
| 11 |
} |
| 12 |
|
| 13 |
div { |
| 14 |
@include appearance(none); |
| 15 |
|
| 16 |
/* boo boo boo */ |
| 17 |
// Multiple image assets |
| 18 |
@include background-image(url("/images/a.png"), url("images/b.png")); |
| 19 |
|
| 20 |
// Image asset with a linear-gradient |
| 21 |
@include background-image(url("/images/a.png"), linear-gradient(white 0, yellow 50%, transparent 50%)); |
| 22 |
|
| 23 |
// Multiple linear-gradients - Demo |
| 24 |
@include background-image(linear-gradient(hsla(0, 100%, 100%, 0.25) 0%, hsla(0, 100%, 100%, 0.08) 50%, transparent 50%), |
| 25 |
linear-gradient(#4e7ba3, darken(#4e7ba4, 10%))); |
| 26 |
|
| 27 |
// NOT SUPPORTED - Multiple image assets with shorthand notation |
| 28 |
@include background-image(url("/images/a.png") center no-repeat, url("images/b.png") left repeat); |
| 29 |
} |