-
Notifications
You must be signed in to change notification settings - Fork 0
/
democss2.html
105 lines (84 loc) · 2.28 KB
/
democss2.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<style>
/* #home {
background-color: blueviolet;
background-image: url('img/img01.jpg');
color: white;
background-repeat: repeat-y;
background-size: cover;
height: 700px;
width: 100%;
background-attachment: fixed;
}
#about {
background-color: blueviolet;
background-image: url('img/img02.jpg');
color: white;
background-repeat: repeat-y;
background-attachment: fixed;
background-size: cover;
height: 700px;
width: 100%;
}
#portfolio {
background-color: blueviolet;
background-image: url('img/img03.jpg');
color: white;
background-repeat: repeat-y;
background-attachment: fixed;
background-size: cover;
height: 700px;
width: 100%;
}
#contact {
background-color: blueviolet;
background-image: url('img/img04.jpg');
background-repeat: repeat-y;
background-attachment: fixed;
background-size: cover;
color: white;
height: 700px;
width: 100%;
} */
.parallax {
height: 700px;
width: 100%;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}
#home {
/* background-image: url('img/img01.jpg'); */
background-color: blueviolet;
}
#about {
/* background-image: url('img/img02.jpg'); */
background-color: rgba(230, 25, 25, 0.87);
}
#portfolio {
/* background-image: url('img/img03.jpg'); */
background-color: rgb(43, 226, 52);
}
#contact {
background-image: url('img/img04.jpg');
/* background-color: rgb(226, 177, 43); */
}
</style>
<body>
<section id="home" class="parallax">
</section>
<section id="about" class="parallax">
</section>
<section id="portfolio" class="parallax">
</section>
<section id="contact" class="parallax">
</section>
</body>
</html>