max-width: 767px

Using Bootstrap?

Most likely.

Wanna apply some special rules to an element inside a grid (col-*) system within a viewport that satisfies something less than col-md but more than col-sm?

@media screen and (max-width: 767px) may be your friend.

If there is only one thing to come out of this, obviously the number 767.

This, to remind my future self.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s