-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
60 lines (51 loc) · 1019 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
56
57
58
59
.container {
display: flex;
flex-direction: column;
height: 800px;
width: 460px;
font-family: arial;
position: absolute;
top: 50%;
left: 50%;
transform: translateY(-50%) translateX(-50%);
}
.group {
display: flex;
width: 460px;
height: 150px;
text-align: right;
}
div {
width: 100%;
}
.group div:nth-child(2) {
border-radius: 50%;
transform: scale(0.5) translateY(-50%);
background-image: url("https://www.gardeningknowhow.com/wp-content/uploads/2021/07/wild-flowers-in-a-country-garden.jpg");
background-repeat: no-repeat;
background-size: cover;
position: relative;
border: 3px solid grey;
}
.group:not(:last-child) div:nth-child(2)::after {
content:"";
background: grey;
position: absolute;
bottom: -115%;
left: 50%;
height: 115%;
width: 3px;
}
p {
font-size: 10px;
padding: 5px;
}
h4 {
padding: 5px;
margin-top: 0;
margin-bottom: 0;
}
.group:nth-child(even) {
flex-direction: row-reverse;
text-align: left;
}