-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClik.css
101 lines (96 loc) · 1.51 KB
/
Clik.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
body {
margin: 0 auto;
background-image: url("lol.jpg")
}
.topnav {
overflow: hidden;
background-color: #333;
opacity: 0.7;
font-family: Comic Sans MS, Comic Sans, cursive;
}
.topnav a {
float: left;
color: #f2f2f2;
text-decoration: none;
font-size: 80px;
padding: 14px 16px;
}
.topnav a:hover {
background-color: #4caf50;
color: aliceblue;
border-radius: 10px;
}
.text {
background-color: #4caf50;
color: #fff;
font-size: 20px;
padding: 16px 32px;
}
.picture {
position: relative;
width: 25%;
margin: 10% 0 0 38%;
}
.image {
opacity: 1;
display: block;
width: 100%;
height: auto;
transition: .5s ease;
backface-visibility: hidden;
}
.middle {
transition: .9s ease;
opacity: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%)
}
.picture:hover .image {
opacity: 0.7;
}
.picture:hover .middle {
opacity: 1;
}
.text {
background-color: #4CAF50;
color: white;
font-size: 16px;
padding: 16px 32px;
}
.content h2 {
font-family: OCR A Std, monospace;
color: #fff;
font-size: 25px;
width: 1200px;
position: absolute;
left: -1160px;
transition: 0.8s;
padding: 15px;
border-radius: 0 5px 5px 0;
opacity: 0.7
}
.content h2:hover {
left: 0;
}
.name {
top: 250px;
background-color: #4caf50;
text-align: center;
}
.want {
top: 350px;
background-color: #2196f3;
text-align: center;
}
.learn {
top: 450px;
background-color: #f44336;
text-align: center;
}
.study {
top: 550px;
background-color: #555;
}