Untitled

mail@pastecode.io avatar
unknown
plain_text
9 days ago
2.2 kB
0
Indexable
Never
*{

    margin: 0;
    padding: 0;
}

body{

    background-color: greenyellow;
}
header {
    background-color: aqua;
    padding:10px 20px;
}

header h1{

    color:crimson;
    font-size: 55px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

header span {
color: brown;
font-size: 20px;
font-family: cursive;

}

nav {

    background-color: black;
margin: 20px;
}

nav a {

    color: beige;
    text-decoration: none;
    font-size: 18px;
    font-family: Georgia, 'Times New Roman', Times, serif;
padding: 15px;
display: inline-block;
}
nav a:hover {
color: cadetblue;
background-color: gold;

}
.banner{ 

    background-color: brown;
    color: white;
    height: auto;
    padding: 15px;
}
.banner h2{
    font-size: 30px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: green;
    padding-bottom: 10px;
}

.banner p{

font-size: 16px;
font-family: Verdana, Geneva, Tahoma, sans-serif;
padding-bottom: 20px;

}
.box {

    background-color: black;
    width: 100%;
    display: flex;
}
ddaw24
.box1{
width: 50%;
background-color: blueviolet;
}

.box2{

    width: 50%;
    background-color: gold;
}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
<header>

    <h1>This is Krishnan Iyer.</h1>
    <span>A Scienist with zero qualification.</span>
</header>
<nav>
    <a href="home.html">Home</a>
    <a href="AboutUs.html">About Us</a>
    <a href="Contact.html">Contact Us</a>
    <a href="gallery.html">Gallery</a>
    <a href="faq.html">FAQ</a>
</nav>
<div class="banner">
<h2>About Bruce Banner</h2>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Ex deserunt explicabo mollitia animi ipsam, aliquam officia nobis quod magnam quidem voluptatibus adipisci culpa earum laboriosam sapiente ipsum harum ea est?</p>
</div>
<div class="box">
    <div class="box1">1</div>
    <div class="box2">2</div>
</div>
</body>
</html>
Leave a Comment