File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
demos/margins-via-gap-css Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 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+ < template >
30+ <!-- This is not a rendered element. -->
31+ </ template >
32+
33+ < input type ="text " />
34+
35+ < template >
36+ <!-- This is not a rendered element -->
37+ </ template >
38+ < style >
39+ /* This is not a rendered elemenet. */
40+ </ style >
41+
42+ < input type ="text " />
43+ < input type ="text " />
44+ </ fieldset >
45+
46+ </ body >
47+ </ html >
You can’t perform that action at this time.
0 commit comments