DEV Community

Stanislav Vranic
Stanislav Vranic

Posted on • Updated on

CSS Media Queries BreakPoints

@media only screen and (max-width: 991px) {...}

@media only screen and (max-width: 767px) {...}

@media only screen and (min-width: 768px) {...}

@media only screen and (min-width: 992px) {...}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {...}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {...}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {...}

@media only screen and (orientation: landscape) {
body {
background-color: lightblue;
}
}

@media only screen and (max-width: 767px) and (orientation: portrait) {...}
@media only screen and (min-width: 320px) and (max-width: 479px){ ... }

Top comments (0)