Skip to content

Commit 52cb164

Browse files
committed
Added css in the project
1 parent 45429b5 commit 52cb164

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

parallex-website/public/css/style.css

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
body{
2+
margin: 0;
3+
padding: 0;
4+
font-family: 'Lato', sans-serif;
5+
}
6+
7+
.pImg1{
8+
background: url('../images/pImg1.jpeg');
9+
background-repeat: no-repeat;
10+
height: 100vh;
11+
width: 100%;
12+
background-position: center;
13+
background-size: cover;
14+
opacity: 0.70;
15+
background-attachment: fixed;
16+
}
17+
18+
19+
.pImg2{
20+
background: url('../images/pImg2.jpeg');
21+
background-repeat: no-repeat;
22+
height: 400px;
23+
width: 100%;
24+
background-position: center;
25+
background-size: cover;
26+
opacity: 0.70;
27+
background-attachment: fixed;
28+
}
29+
30+
31+
.pImg3{
32+
background: url('../images/pImg3.jpeg');
33+
background-repeat: no-repeat;
34+
height: 400px;
35+
width: 100%;
36+
background-position: center;
37+
background-size: cover;
38+
opacity: 0.70;
39+
background-attachment: fixed;
40+
}
41+
42+
.section{
43+
text-align: center;
44+
font-size: 16px;
45+
word-spacing: 5px;
46+
padding: 37px 53px;
47+
}
48+
49+
h2{
50+
margin: 0;
51+
}
52+
53+
p{
54+
margin-bottom: 0;
55+
}
56+
57+
.section-light{
58+
background-color: #fff;
59+
color: #424949;
60+
}
61+
62+
.section-dark{
63+
background-color: rgb(79, 80, 80);
64+
color: #F0F3F4;
65+
}
66+
67+
.pText{
68+
letter-spacing: 8px;
69+
font-size: 22px;
70+
text-align: center;
71+
position: relative;
72+
top: 50%;
73+
width: 100%;
74+
text-transform: uppercase;
75+
color: #fff;
76+
}
77+
78+
.pText .border{
79+
background-color: #111;
80+
color: #fff;
81+
padding: 20px;
82+
}

0 commit comments

Comments
 (0)