Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [data-slides] {
- background-image: url(../../uploads/banner1.jpg); /* Default image. */
- background-repeat: no-repeat;
- background-position: center top;
- background-size: cover;
- transition: background-image 1s linear;
- }
- /* Use additional CSS to control the `height` of `[data-slides]`, like so: */
- .test { height: 220px; }
- @media all and (min-width: 48em) {
- .test { height: 320px; }
- }
Add Comment
Please, Sign In to add comment