refactor responsive SCSS using mixins

This commit is contained in:
jake committed 2019-11-03 21:36:51 -05:00
1 parent 4dd67b6723
commit 4f7c01d600
16 files changed
+182 -164

No files matched your search

+18
View File
@@ -30,3 +30,21 @@ body#videos {
font-family: inherit; // for subtitles
}
}
// Responsive
@mixin responsive--videos() {
body#videos {
margin: 20px 0;
h1 {
font-size: 1.6em;
padding: 0 10px;
}
video {
width: 100%;
height: auto;
}
}
}