You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 satır
352B

  1. //576px
  2. @mixin mobile-only {
  3. @media screen and (max-width: $sm) {
  4. @content;
  5. }
  6. }
  7. //768px
  8. @mixin tablet-only {
  9. @media screen and (max-width: $md) {
  10. @content;
  11. }
  12. }
  13. //992px
  14. @mixin desktop-only {
  15. @media screen and (max-width: $lg) {
  16. @content;
  17. }
  18. }
  19. //1200px
  20. @mixin large-only {
  21. @media screen and (max-width: $xl) {
  22. @content;
  23. }
  24. }