-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.css
More file actions
86 lines (80 loc) · 1.35 KB
/
test.css
File metadata and controls
86 lines (80 loc) · 1.35 KB
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
body {background-color: #292c2f;}/* color of whole page*/
/*style of visit bulgaria header*/
h2 {
display: inline;
position: relative;
font: 100px Helvetica, Sans-Serif;
letter-spacing: -5px;
color:#66FCF1 ;
}
@media screen and (max-width: 600px) {
h2 {
font-size: 80px;
}
}
}
.all{
max-width: 500px;
margin: auto;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
.header{
background-color:#45A29E;
}
.container {
position: relative;
float:left;
width: 33.33%;
height: 300px;
}
.image {
display: block;
width: 100%;
height: 300px;
}
@media screen and (max-width: 600px) {
.header{
font-size: 40px;
}
.container{
font-size: 40px;
}
.pep{
font-size: 7px;
}
}
.overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
width: 100%;
opacity: 0;
transition: .5s ease;
background-color: #45A29E;
}
.container:hover .overlay {
opacity: 1;
}
.text {
color: white;
font-size: 20px;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
text-align: center;
}
.bg-4 {
background-color: #2f2f2f;
color: #ffffff;
}