-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Expand file tree
/
Copy pathflex-gap-decorations-041.html
More file actions
43 lines (39 loc) · 1.06 KB
/
flex-gap-decorations-041.html
File metadata and controls
43 lines (39 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<title>
CSS Gap Decorations: Flex gaps are painted with different sized gaps per line due to content distribution (via space-around).
</title>
<link rel="help" href="https://www.w3.org/TR/css-gaps-1/">
<link rel="match" href="flex-gap-decorations-041-ref.html">
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
body {
margin: 0px;
}
#flexbox {
width: 400px;
border: 2px solid #333;
background-color: #fff;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
column-rule: 5px solid gold;
}
.item {
width: 70px;
height: 50px;
background-color: #007bff;
color: white;
display: flex;
}
</style>
<div id="flexbox">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>