Skip to content

Commit 06cd344

Browse files
authored
Update example.html
1 parent d1e4d95 commit 06cd344

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<!-- ... or add as inline <script> ! -->
66
<script src="https://cdn.jsdelivr.net/gh/gnat/css-scope-inline@main/script.js"></script>
77
<style>
8-
*,*::before,*::after{ margin: 0; box-sizing: border-box; } /* Reset */
8+
*,*::before,*::after { margin: 0; box-sizing: border-box; } /* Reset */
99
html {
1010
font-size: 10px; /* Root size. Usage: 1.8rem = 18px (1rem = 10px) */
1111
text-size-adjust: none; /* Reset auto size. */
@@ -38,9 +38,9 @@
3838
&::before { content:'🔮'; padding: 0 1ch 0 0; }
3939
}
4040
}
41-
/* Flat style can be more readable. */
41+
/* Flat style can be more readable! 1 selector per line. */
4242
.me ol { padding: 5px 0; }
43-
.me ol li{ list-style: disc; padding: 4px; border-radius: 12px; margin: 4px 20px }
43+
.me ol li { list-style: disc; padding: 4px; border-radius: 12px; margin: 4px 20px }
4444
/* ✨ .this and .self alias .me ! */
4545
.this ol li[n1] { background: hsl(264 50% 50%) }
4646
.self ol li[n2] { background: hsl(264 80% 50%) }

0 commit comments

Comments
 (0)