forked from Ikows/projetJob
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirst.css
78 lines (64 loc) · 1.18 KB
/
first.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
@font-face {
font-family: 'Mpsb';
src: url('fonts/MyriadPro-Semibold.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
#iko {
height: 100vh;
width: 100%;
background-image: url('images/grand.jpg');
background-position: center;
background-size: contain;
background-repeat: no-repeat;
background-color: black;
}
#dessous {
width: 40%;
height: 60%;
transform: translate(118%, 15%);
}
#sesame {
width: 100%;
height: 50%;
background-image: url('images/open.jpg');
background-size: contain;
background-repeat: no-repeat;
transform: translate(0%, 80%);
transition: transform 2s;
margin: 0;
}
#dessous:hover #sesame {
transform: translate(0%, 0%);
}
#bouton {
display: block;
height: 75px;
width: 200px;
text-decoration: none;
color: black;
border-radius: 10px;
font-family: 'Mpsb';
font-size: 3rem;
padding-top: 5px;
background-color: white;
position: relative;
top: 75%;
margin-left: auto;
margin-right: auto;
text-align: center;
border: 1px solid white;
}
@media (max-width: 1000px) {
#sesame {
display: none;
}
@media (max-width: 400px) {
#bouton {
font-size: 1.5rem;
height: 37px;
width: 100px;
padding-top: 2px;
top: 70%;
}
}