Skip to content

Commit b75583f

Browse files
authored
Improved Responsive Design docs.
1 parent 3ed9972 commit b75583f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ <h1>🛸 Scoped style using me</h1>
7474
me div ul li { display: inline-block; width: 110px; text-align: center; background: #444; border-radius: 5px; padding: 10px 2px; margin: 10px 10px }
7575
</style>
7676
<h2>Responsive Design 🔛 Resize the window!</h2>
77-
🟢 = No breakpoint. Default.
77+
🟢 = None specified.
7878
<div>
7979
<style>
8080
me ul li[n1] { background: var(--color); }
@@ -84,7 +84,7 @@ <h2>Responsive Design 🔛 Resize the window!</h2>
8484
@media xl { me ul li[n5] { background: var(--color); } }
8585
@media xx { me ul li[n6] { background: var(--color); } }
8686
</style>
87-
<div>Mobile First (<strong>above</strong> breakpoint)</div>
87+
<div>📱 Mobile First! Add styles as size <strong>increases</strong>.</div>
8888
<ul><li n1><strong>🟢 None</strong><li n2>sm<li n3>md<li n4>lg<li n5>xl<li n6>🏁 xx</ul>
8989
</div>
9090
<div>
@@ -99,7 +99,7 @@ <h2>Responsive Design 🔛 Resize the window!</h2>
9999
@media xs- { &[n6] { background: var(--color); } }
100100
}
101101
</style>
102-
<div>Desktop First (<strong>below</strong> breakpoint)</div>
102+
<div>💻 Desktop First! Add styles as size <strong>decreases</strong>.</div>
103103
<ul><li n6>🏁 xs-<li n5>sm-<li n4>md-<li n3>lg-<li n2>xl-<li n1><strong>🟢 None</strong></ul>
104104
</div>
105105
<br />

0 commit comments

Comments
 (0)