forked from HackYourFuture/JavaScript2
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathstyle.css
More file actions
45 lines (39 loc) · 705 Bytes
/
style.css
File metadata and controls
45 lines (39 loc) · 705 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
45
/* add your styling here */
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.container {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
list-style: none;
padding: 5px;
}
.list-item {
width: calc(100% / 3 - 10px);
padding: 10px;
margin: 5px;
border: 1px solid rgba(0, 0, 0, 0.3);
border-radius: 3px;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}
.item-heading {
padding-bottom: 5px;
margin-bottom: 10px;
border-bottom: 2px solid saddlebrown;
}
.content-container {
display: flex;
flex-direction: row-reverse;
justify-content: flex-end;
}
.item-image {
width: 30%;
margin-right: 10px;
}
.item-image img {
width: 100%;
object-fit: cover;
}