forked from WebDevSimplified/Spotify-Landing-Page-Redesign
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
84 lines (75 loc) · 1.47 KB
/
index.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.home-main-section {
display: flex;
align-items: stretch;
justify-content: space-between;
flex-grow: 1;
}
.home-main-section .img-wrapper {
flex-grow: 1;
flex-direction: column;
display: flex;
align-items: stretch;
justify-content: flex-end;
}
.home-main-section .lady-image {
background-image: url(images/landing-page-girl.png);
flex-grow: 1;
max-height: 70vh;
min-width: 30vw;
background-size: contain;
background-repeat: no-repeat;
background-position: bottom left;
}
.home-main-section .call-to-action {
display: flex;
flex-direction: column;
align-items: flex-start;
margin: 1rem;
align-self: center;
}
@media (max-width: 900px) {
.home-main-section .img-wrapper {
display: none;
}
.home-main-section {
justify-content: center;
}
}
.home-page-circle-1 {
position: absolute;
width: 25vw;
height: 25vw;
border-radius: 50%;
background-color: rgb(188, 58, 128, .1);
bottom: 5vw;
left: 5vw;
z-index: -1;
}
.home-page-circle-2 {
position: absolute;
width: 25vw;
height: 25vw;
border-radius: 50%;
background-color: rgb(52, 87, 178, .1);
top: 15vh;
left: 30vw;
z-index: -1;
}
.home-page-circle-3 {
position: absolute;
overflow: hidden;
width: 45vw;
height: 45vw;
bottom: 0;
right: 0;
z-index: -1;
}
.home-page-circle-3::before {
content: '';
transform: translate(40%, 40%);
position: absolute;
height: 100%;
width: 100%;
border-radius: 50%;
background-color: rgb(52, 87, 178, .1);
}