-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
55 lines (48 loc) · 787 Bytes
/
style.css
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
44
45
46
47
48
49
50
51
52
53
54
55
body {
font-size: 30px;
margin: 2rem;
display: flex;
}
.container--01 {
flex-grow: 1;
}
.container--02 {
flex-grow: 2;
}
.container {
contain: style layout inline-size;
}
.content {
display: flex;
height: 300px;
}
.box {
background-color: yellow;
border: 3px solid black;
min-height: 1rem;
flex-grow: 1;
margin: .25rem;
padding: .5rem;
}
@container (max-width: 800px) {
.content {
flex-direction: column;
}
.box {
background-color: orange;
}
}
/* .container:before {
content: attr(data-size);
position: absolute;
left: 0;
right: 0;
top: -0.6rem;
width: 6ch;
margin: 0 auto;
text-align: center;
display: inline-block;
background: black;
color: white;
} */
/*# sourceMappingURL=style.css.map */