forked from hackyourfuturecanada/Week4
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss.css
More file actions
44 lines (36 loc) · 657 Bytes
/
css.css
File metadata and controls
44 lines (36 loc) · 657 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
40
41
42
43
44
/*ul#grid-floats li:not(:first-child) {*/
/* float: left;*/
/* width: 50%;*/
/*}*/
/*li.grid-item:not(:first-child) img {*/
/* width: 50%;*/
/*}*/
/*#grid-floats li:first-child img {*/
/* width: 100%;*/
/*}*/
* {
box-sizing: border-box;
border: 1px solid red;
}
li {
list-style-type: none;
}
section {
width: 100%;
}
ul#grid-floats li:not(:nth-child(-n+2)) {
float: left;
width: 31%;
height: 40vh;
margin-bottom: 10vh;
}
li.grid-item:not(:nth-child(-n+2)) img {
width: 50%;
}
#grid-floats li:nth-child(-n+2) {
float: left;
width: 50%;
}
#grid-floats li:nth-child(-n+2) img {
width: 50%;
}