We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1588d4 commit b8d9bb8Copy full SHA for b8d9bb8
css-rhythm/examples/snap-height.html
@@ -21,6 +21,10 @@
21
snap-height: 18pt;
22
line-height-step: 18pt;
23
}
24
+.grid #example {
25
+ background-size: 100% 18pt;
26
+ background-image: linear-gradient(to bottom, #00bcd4 1px, transparent 1px);
27
+}
28
.line-height-step #example > * {
29
margin: 0;
30
@@ -38,6 +42,7 @@
38
42
border: thin solid black;
39
43
padding: .5em;
40
44
margin: .5em 0;
45
+ user-select: none;
41
46
47
#control {
48
-webkit-user-select: none;
@@ -93,6 +98,7 @@
93
98
<label><input type="checkbox" value="use-inline-block">Use inline-block for h2</label>
94
99
</span>
95
100
</div>
101
+ <label><input type="checkbox" value="grid">Show grid</label>
96
102
<label><input type="checkbox" value="editable">Editable</label>
97
103
104
<div id="example" spellcheck="false">
0 commit comments