forked from Diptenusarkar/Website-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathParallexEffect.css
84 lines (72 loc) · 1.37 KB
/
ParallexEffect.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
body, html{
height:100%;
margin:0;
font-size:16px;
font-family:Arial, Helvetica, sans-serif;
font-weight:400;
line-height:1.8em;
color:#666;
}
.img1, .img2, .img3{
position:relative;
opacity:0.70;
background-position:center;
background-size:cover;
background-repeat:no-repeat;
background-attachment:fixed;
}
.img1{
background-image:url('./Images/image1.jpg');
min-height:100%;
}
.img2{
background-image:url('./Images/image2.jpg');
min-height:400px;
}
.img3{
background-image:url('./Images/image3.jpg');
min-height:400px;
}
.section{
text-align:center;
padding:50px 80px;
}
.section-dark{
background-color:#45a29e;
color: black;
}
.section-light{
background-color: #1f2833;
color:white;
}
.section-dark2{
background-color: black;
color:#66fcf1;
}
.text{
position:absolute;
top:50%;
width:100%;
text-align:center;
color:#000;
font-size:27px;
letter-spacing:8px;
text-transform:uppercase;
}
.text .border{
background-color:#111;
color:#fff;
padding:20px;
}
.text .border.trans{
background-color:transparent;
}
@media(max-width:568px){
.img1, .img2, .img3{
background-attachment:scroll;
}
}
footer{
text-align: center;
text-decoration: none;
}