javascript - CSS media query correction -
i have structured breakpoints this, need 1024 break point. max-width 1199 getting conflict can 1 please me out this.
// break-point // ------------------------------
/* landscape phones , portrait tablets */ @mixin bp-xsmall-only { @media screen , (max-width: 480px) { @content; } } @mixin bp-small-and-below { @media screen , (max-width: 767px) { @content; } } /* portrait tablets , small desktops */ @mixin bp-medium-only { @media screen , (min-width: 768px) , (max-width: 991px) { @content; } } /* landscape tablets , medium desktops */ @mixin bp-large-only { @media screen , (min-width: 992px) , (max-width: 1199px) { @content; } } /* large desktops , laptops */ @mixin bp-large-and-above { @media screen , (min-width: 992px) { @content; } } @mixin bp-xlarge-only { @media screen , (min-width: 1200px) { @content; } }
Comments
Post a Comment