We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f03d4f2 commit 026b941Copy full SHA for 026b941
1 file changed
demos/margins-via-gap-css/test.htm
@@ -0,0 +1,47 @@
1
+<!doctype html>
2
+<html lang="en">
3
+<head>
4
+ <style type="text/css">
5
+
6
+ fieldset {
7
+ display: flex ;
8
+ flex-direction: column ;
9
+ gap: 1rem ;
10
11
+ & input {
12
+ display: block ;
13
+ margin: 0 ;
14
+ }
15
16
17
+ </style>
18
+</head>
19
+<body>
20
21
+ <fieldset>
22
+ <legend>
23
+ This is not an inline element
24
+ </legend>
25
26
+ <template>
27
+ <!-- This is not a rendered element. -->
28
+ </template>
29
30
31
32
33
+ <input type="text" />
34
35
36
+ <!-- This is not a rendered element -->
37
38
+ <style>
39
+ /* This is not a rendered elemenet. */
40
41
42
43
44
+ </fieldset>
45
46
+</body>
47
+</html>
0 commit comments