-
Notifications
You must be signed in to change notification settings - Fork 0
/
homepage.css
51 lines (38 loc) · 1.28 KB
/
homepage.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
/* HOME PAGE */
.hp-image {
padding: 48px;
height: clamp(300px, 64vh, 560px);
transition: all 0.4s ease;
}
.hp-image:hover {
transform: scale(1.06);
z-index: 0;
transition: all 0.4s ease;
}
.hp-built-open {
background: top 110px right 160px / contain no-repeat fixed url("./img/homepage/bo_iphone.png"), #F9ECEC center / 120% no-repeat url("./img/homepage/bo_logo.png");
}
.hp-tembo {
background: top 80px right 160px / contain no-repeat fixed url("./img/homepage/tembo_image.png"), #13123A top right / 50% no-repeat url("./img/homepage/tembo_gradient.png");
}
.hp-with {
background: center / cover fixed url(./img/homepage/with.jpg);
}
.hp-the-pass {
background: center / cover fixed url(./img/homepage/the_pass.jpg);
}
.hp-coders {
background: center / cover fixed url(./img/homepage/coders.jpg);
}
/* MEDIA QUERIES */
@media only screen and (max-width: 640px) {
.hp-image:hover {
transform: none;
}
.hp-built-open {
background: center top 40px / 80% fixed no-repeat url(./img/homepage/bo_iphone.png), #F9ECEC center / 110% no-repeat url(./img/homepage/bo_logo.png);
}
.hp-tembo {
background: center top 40px / 80% fixed no-repeat url("./img/homepage/tembo_image.png"), #13123A top right / 50% no-repeat url("./img/homepage/tembo_gradient.png");
}
}