Search
 
SCRIPT & CODE EXAMPLE
 

CSS

less set media size

/*
LARGER MOBILE DEVICES
~481px+
*/
.bp-mobile(@rules) {
    @media only screen and (min-width: 28.75em) { @rules(); } 
}

/*
TABLET & SMALLER LAPTOPS
~768px+
*/
.bp-tablet(@rules) {
    @media only screen and (min-width: 40.5em) { @rules(); }
}

/*
DESKTOP
~1030px+
*/
.bp-desktop(@rules) {
    @media only screen and (min-width: 64.375em) { @rules(); }
}

/*
LARGE VIEWING SIZE
~1240px+
*/
.bp-large-screen(@rules) {
    @media only screen and (min-width: 77.5em) { @rules(); }
}
Comment

PREVIOUS NEXT
Code Example
Css :: css direct child selector 
Css :: radius to imported icons 
Css :: position absolute above everything 
Css :: how to make focus outline round in html 
Css :: scss loop 
Css :: how to style links in css 
Css :: table content center 
Css :: var in css 
Css :: what css font smoothing 
Css :: css animation left to right infinite codepen 
Css :: css animation png 
Css :: css clamp vs media queries 
Css :: hover bg change 
Css :: chrome developer tools css customize 
Css :: what is padding in css 
Css :: responsive css template 
Css :: vendor Prefixing 
Css :: :is in css 
Css :: how to call class in css 
Css :: home page css 
Css :: jquery or selector 
Css :: line height negative css 
Css :: daphne vs gunicorn 
Css :: string interning in python 
Css :: scss @content 
Css :: top 0 bottom 0 left 0 right 0 alternate css 
Css :: break table for printing 
Css :: css to reduce margin of class container 
Css :: two file css how to get one 
Css :: flex box divs squeeze together 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =