mirror of
https://github.com/primer/css.git
synced 2025-01-07 06:51:03 +03:00
Shorten visual
This commit is contained in:
parent
6dcf1f01db
commit
1ba777cc6f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user