Skip to content

Commit 898d3cb

Browse files
committed
CSS Assessment-1
1 parent 6649475 commit 898d3cb

File tree

4 files changed

+71
-0
lines changed

4 files changed

+71
-0
lines changed
1.25 KB
Loading
77.1 KB
Loading

Project-CSSAssessment-1/index.html

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<title>CSS WEB PAGE-1</title>
9+
<link rel="stylesheet" href="style.css">
10+
</head>
11+
12+
<body>
13+
<header class="container">
14+
<nav aria-label="navbar">
15+
<div class="navbar__image">
16+
<img src="img/Logo.png" alt="Logo">
17+
</div>
18+
<div class="list__items">
19+
<li><a href="#">Home</a></li>
20+
<li><a href="#">About</a></li>
21+
<li><a href="#">Services</a></li>
22+
<li><a href="#">Portfolio</a></li>
23+
<li><a href="#">Pricing</a></li>
24+
<button class="contactus">Contact Us</button>
25+
</div>
26+
</nav>
27+
</header>
28+
<section aria-label="banner">
29+
<article class="banner__container">
30+
<h1 class="banner__heading"></h1>We Help You <span>Crush</span> Your Competition</h1>
31+
<p class="banner__info">Build trust to connect your brand to nillions of users and grow your revenue through
32+
SEO.</p>
33+
<button class="services">See our services</button>
34+
</article>
35+
<aside class="banner__image">
36+
<img src="img/image.png" alt="image">
37+
</aside>
38+
</section>
39+
</body>
40+
41+
</html>

Project-CSSAssessment-1/style.css

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
nav {
2+
display: flex;
3+
}
4+
.navbar__image {
5+
margin: 50px;
6+
padding: 10px;
7+
text-align: center;
8+
}
9+
.list__items {
10+
display: flex;
11+
text-decoration: none;
12+
list-style-type: none;
13+
}
14+
div li {
15+
justify-content: space-around;
16+
width: 40px;
17+
height: 30px;
18+
text-align: center;
19+
margin: 50px;
20+
text-decoration: none;
21+
list-style-type: none;
22+
}
23+
.contactus {
24+
display: inline-block;
25+
padding: 10px 20px;
26+
border-radius: 10px;
27+
border-color:rgba(45, 68, 172, 0.975); ;
28+
background-color:rgba(45, 68, 172, 0.975);
29+
color: white;
30+
}

0 commit comments

Comments
 (0)