1
1
mirror of https://github.com/primer/css.git synced 2025-01-07 06:51:03 +03:00

Shorten visual

This commit is contained in:
simurai 2020-02-19 17:54:30 +09:00 committed by GitHub
parent 6dcf1f01db
commit 1ba777cc6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,12 +35,16 @@ A responsive utility class stays enabled **unless** it gets overridden with anot
```
| 0px ->
| sm 544px ->
| md 768px ->
| lg 1012px ->
| xl 1280px ->
| 544px ->
| sm
| 768px ->
| md
| 1012px ->
| lg
| 1280px ->
| xl
| col-12 ------------> | col-md-8 ----------------> | col-xl-4 ->
| col-12 ---------> | col-md-8 ----------> | col-xl-4 ->
```
Using breakpoints with the `min-width` media query works great for "mobile first". Design for mobile devices as a default, then if needed, tweak it for wider desktop screens using responsive utility classes.