Skip to content
This repository was archived by the owner on Apr 14, 2023. It is now read-only.

Commit 9d58a49

Browse files
add - Add new Media Queries
1 parent 9de5bdb commit 9d58a49

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/configurations/media-queries.styl

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
/* @group Media Queries */
2-
for size in 320 375 414 480 568 576 640 667 720 736 768 800 812 834 960 1024 1112 1200 1280 1366 1440 1536 1600 1680 1920
3-
@media only screen and (max-width : size * 1.5 px)
2+
for size in 220 240 320 375 414 480 576 600 640 648 720 768 800 900 960 1024 1050 1080 1152 1200 1280 1366 1392 1400 1440 1536 1600 1680 1856 1920 2048 2160 2560 3384 3840 4320 6016 7680
3+
@media only screen and (max-width : size px )
44
.container
5-
width: size px
6-
margin: 0 auto
5+
width size px
6+
margin 0 auto
7+
8+
@media (prefers-reduced-motion: no-preference)
9+
:root
10+
scroll-behavior smooth
11+
712
/* @end */

0 commit comments

Comments
 (0)