CSS PRACTICE SET 4(APC)
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=, initial-scale=1.0">
<title>PRACTICE SET 4</title>
<link rel="stylesheet" href="STLE.CSS">
</head>
<body>
<header>
<div id="navbar">
<a id="logo">amazon.in</a>
<a href="#">Account</a>
<a href="#">My Cart</a>
<a href="#">Contact us</a>
<input placeholder="search Amazon.in">
<button>Search</button>
</div>
</header>
<DIV id="content">
<DIV class="contentbox"
style="background-color:rgba(0, 0, 255, 0.5);">
TECHMOLOGY
</DIV>
<DIV class="contentbox"
style="background-color: rgba(255, 0, 0, 0.5);">
MATHEMATICS
</DIV>
<DIV class="contentbox"
style="background-color: rgba(0, 255, 0, 0.5);">
PROGRAMMING
</DIV>
</DIV>
<footer id="foot">MADE BY DEBADATTA PARIDA</footer>
</body>
</html>
CSS
*{
padding: 0;
margin: 0;
color: white;
}
h1{
text-align: center;
}
#navbar{
height: 60px;
background-color: #0f1111;
}
h1{
color: aqua;
}
i
#logo{
color: #f08804;
font-size: 25px;
}
button{
background-color: #f08804;
}
a{
margin-right: 200px;
text-decoration: none;
}
.contentbox{
height: 100px;
width: 100px;
border: 2px solid aqua;
display: inline-block;
}
#foot{
background-color: #0f1111;
color: #f08804;
text-align: center;
}
#content{
height: 660px;
}
OUTPUT
TECHMOLOGY
MATHEMATICS
PROGRAMMING
Comments
Post a Comment