forked from daftcreations/Block-Reveal-Effect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.css
133 lines (113 loc) · 1.96 KB
/
Main.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
102
103
104
105
106
107
108
109
110
111
112
113
body{
margin: 0px;
padding: 0px;
background-color:#201E1F;
}
#box1,#box2{
height: 100px;
width: 650px;
position: absolute;
top:40%;
margin-left: 300px;
transform: translateY(-50%);
overflow: hidden;
}
#box2{
top:55.5%;
}
.colorLayer{
height: 100px;
width: 650px;
background-color:#F6BEBF;
position: absolute;
left: -650px;
z-index: 9;
}
#box2 .colorLayer{
background-color:#C5EBF8;
}
.title{
font-family: arial black;
font-size: 7em;
color:white;
line-height: 90px;
position: absolute;
left: -650px;
z-index: 1;
}
#box3{
height: 650px;
width: 850px;
position: absolute;
top:150%;
margin-left: 200px;
transform: translateY(-50%);
overflow: hidden;
}
.colorLayer2{
height: 450px;
width:850px;
background-color:#F6BEBF;
position: absolute;
left: -850px;
z-index: 9;
}
.image img{
height: 450px;
width: 850px;
position: absolute;
left: -850px;
z-index: 1;
}
#box4{
height: 400px;
width: 400px;
position: absolute;
top:150%;
right: 0%;
margin-right: 200px;
transform: translateY(-50%);
overflow: hidden;
}
.colorLayer3{
height: 400px;
width: 400px;
background-color:#F6BEBF;
position: absolute;
left: -400px;
z-index: 9;
}
.info{
height: 320px;
width: 320px;
font-family: monospace;
font-size: 15px;
color:#2D2D2D;
padding: 40px;
text-align: justify;
background-color: #C5EBF8;
position: absolute;
left: -420px;
z-index: 1;
}
h2{
font-family: arial;
border: 3px solid black;
padding: 5px;
text-align: center;
}
.btn{
height: 35px;
width: 150px;
background-color: #201E1F;
font-family: arial;
font-size: 11px;
color:white;
text-align: center;
line-height: 35px;
border-radius: 20px;
position: absolute;
bottom: 10%;
left: 50%;
transform: translateX(-50%);
}