Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Large devices (desktops, less than 1200px)
- @mixin adaptive-l {
- @media (max-width: 1199.98px) {
- @content;
- }
- }
- // Medium devices (tablets, less than 992px)
- @mixin adaptive-m {
- @media (max-width: 991.98px) {
- @content;
- }
- }
- // Small devices (landscape phones, less than 768px)
- @mixin adaptive-s {
- @media (max-width: 767.98px) {
- @content;
- }
- }
- // Extra small devices (portrait phones, less than 576px)
- @mixin adaptive-xs {
- @media (max-width: 575.98px) {
- @content;
- }
- }
Add Comment
Please, Sign In to add comment