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.
illutek 1f6a33607b more comments 1 year ago
mixin.scss add comment 1 year ago more comments 1 year ago

MIXIN Mediaquery

Mobile first with error proofing.

A code example of how to use the mixin

header__menu {
  display: none;
  padding-top: 2rem;
// with breakpoint
  @include mq(desktop) {
    display: block;

// with size(value = number)
  @include mq(2300px) {
    background-color: #ff0000;