Topic: CSS Basics

Create a breakpoint – CSS


To create a breakpoint in CSS, use a media query with the min-width or max-width media feature:

@media screen and (min-width: 576px) {
  p {
    /* add properties here */

To view this and the other 300+ tutorials on Simple Dev, sign up for a 10-day free trial.