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)

Become a Moderator Do you want us to help make DEV a better place?

Fill out this survey and help us by becoming a tag moderator here at DEV.