Skip to content

Commit 777ad03

Browse files
authored
Update index.html
1 parent a56c3c3 commit 777ad03

1 file changed

Lines changed: 84 additions & 0 deletions

File tree

index.html

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,89 @@
33
<link rel="stylesheet" type="text/css" href="test.css"></link>
44

55
<style>
6+
body {
7+
margin: 0;
8+
margin-top: 0px;
9+
font-family: sans-serif;
10+
}
11+
12+
header {
13+
width:50px;
14+
height:10px;
15+
16+
17+
18+
19+
}
20+
21+
header * {
22+
23+
height:250px;
24+
}
25+
26+
header ul {
27+
padding: 0;
28+
}
29+
30+
header li {
31+
margin-left: 60px;
32+
33+
}
34+
35+
section {
36+
height: 100vh;
37+
border: 1px solid black;
38+
display: flex;
39+
justify-content: center;
40+
align-items: center;
41+
text-align: center;
42+
43+
background-size: cover; /* Add this line */
44+
background-position: center center; /* Add this line */
45+
background-repeat: no-repeat; /* Add this line */
46+
background-attachment: fixed; /* Add this line */
47+
}
48+
49+
#hero .profile-img {
50+
width: 300px;
51+
border-radius: 50%;
52+
}
53+
54+
footer {
55+
text-align: center;
56+
padding: 50px;
57+
}
58+
59+
#hero h1 {
60+
font-size: 5em;
61+
}
62+
63+
section h4 {
64+
font-size: 2.5em;
65+
}
66+
67+
section h3 {
68+
font-size: 4em;
69+
}
70+
71+
72+
header a {
73+
text-decoration: bold;
74+
color: black;
75+
}
76+
77+
/* Add everything below here */
78+
79+
#hero {
80+
background-image: linear-gradient(rgba(255,255,255,0.75),rgba(255,255,255,0.75)), url('WhatsApp Image 2020-01-07 at 2.27.22 PM.jpeg');
81+
}
82+
#about {
83+
background-image: linear-gradient(rgba(255,255,255,0.75),rgba(255,255,255,0.75)), url('images.jfif');
84+
}
85+
86+
#contact {
87+
background-image: linear-gradient(rgba(255,255,255,0.75),rgba(255,255,255,0.75)), url('campus-life.jpg');
88+
}
689

790
</style>
891
</head>
@@ -192,3 +275,4 @@ <h6><p10>Join with Us on:</p10> <img src="images/fb.jpg" ></img>&nbsp;&nbsp; <a
192275
</html>
193276

194277

278+

0 commit comments

Comments
 (0)