-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathflexbox-1.html
More file actions
39 lines (34 loc) · 893 Bytes
/
flexbox-1.html
File metadata and controls
39 lines (34 loc) · 893 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>2 columns, 3 rows</title>
<link rel="stylesheet" href="css/stylesheet.css" />
<style type="text/css">
.wrapper {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.box {
/* background-color: var(--ucla-janss-steps-green);
border-radius: 50%;
font-size: var(--font-size-large);
height: 100px;
width: 100px;
margin: 1em;
padding: 1em; */
}
</style>
</head>
<body>
<ul class="wrapper">
<li class="box">Home</li>
<li class="box">Jupiter</li>
<li class="box">Mars</li>
<li class="box">Earth</li>
<li class="box">Saturn</li>
</ul>
</body>
</html>