Ticker

6/recent/ticker-posts

Header Ads Widget

Responsive Advertisement

New Web design

 New Web design




<!DOCTYPE html>
<html lang="en">
<head>
    <link rel="stylesheet" href="style.css">
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap" rel="stylesheet"
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <header>
        <nav>
            <img class="logo" src="image.png">
            <h2 id="logo">Coding Discussion</h2>
            <ul>
                <li><a href="#">Home</a></li>
                <li><a href="#">services</a></li>
                <li><a href="#">contact</a></li>
                <li><a href="#">About</a></li>

            </ul>
        </nav>
        <h1>Welcome to coding discussion </h1>
        <button class="btn1">Learn More</button>
        <button class="btn2">join us</button>
    </header>
    <div class="section">

        <div class="container">
            <h1 id="head">Contact Us</h1>
        </div>
        <div class="contact">
            <label class="label1">Name</label>
            <input class="name" type="text" placeholder="Sagnik sarkar"><br>
            <br>
            <label class="label2">Email</label>
            <input class="email" type="email" placeholder="example@gmail.com"><br>
            <br>
            <label class="label3">Leave a message</label>
            <input class="message" type="text" placeholder="Leave your comment">
        </div>
    </div>
        
</body>
</html>

*{
    margin0px;
    padding0px;
}
body{
    font-family'Poppins'sans-serif;
}
header{
    background-image:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url(download.jpg);
    height100vh;
    background-sizecover;
    background-positioncenter;
}
.logo{
    height80px;
    positionrelative;
    left70px;
    top60px;
}
.logo:hover{
    cursorpointer;
}
#logo{
    colorwhite;
    font-weightbold;
    positionrelative;
    left25px;
    top60px;

}
#logo:hover{
    cursorpointer;
}
nav{
    /* background-image: linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.8)); */
    background-color#00000085;
    height50px;
}
nav ul{
    floatright;
    margin-top-110px;

}
nav ul li{
    displayinline-block;
    list-stylenone;
    
}
nav ul li a{
    colorwhite;
    text-decorationnone;
    padding20px;
    margin-right30px;
    text-transformuppercase;
    font-weightbold;
    transition0.6s ease;
}
nav ul li a:hover{
    colorrgb(550255);
}
h1{
    colorwhite;
    positionrelative;
    left400px;
    top200px;
    
}
.btn1{
    positionrelative;
    left500px;
    top200px;
    padding15px;
    margin20px;
    background-colorrgb(2436252);
    border2px solid white;
    border-radius8px;
    colorwhite;
    font-weightbold;
    text-transformuppercase;
    transition0.6s ease;
    

}
.btn1:hover{
    background-colorwhite;
    colorrgb(2436252) ;
    cursorpointer;
}
.btn2{
    positionrelative;
    left550px;
    top200px;
    padding15px;
    margin20px;
    text-transformuppercase;
    background-colorwhite;
    border2px solid black;
    border-radius8px;
    colorblack;
    font-weightbold;
    transition0.6s ease;
    
}
.btn2:hover{
    color:rgb(2436252) ;
    cursorpointer;
}
.section{
    background-image:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url(download.jpg);
    height100vh;
    background-positioncenter;
    background-sizecover;
}
.container{
    background-color#33ff0044;
    positionrelative;
    line-height50px;
    margin-top50px;
    margin-right300px;
    margin-left300px;
    color#ffffff;
    padding10px 0px 10px 0px ;
    text-aligncenter;
    border-radius15px 15px 0px 0px;
}
#head{
    positionrelative;
    left-5px;
    top-5px;
    text-aligncenter;
    colorblack;

}
#head:hover{
    colorwhite;
    cursorpointer;
}

.contact{
    background-color#00000054;
    positionrelative;
    line-height50px;
    margin-bottom25px;
    margin-right300px;
    margin-left300px;
    color#ffffff;
    padding10px 0px 10px 0px ;
    text-aligncenter;
    

}
.label1{
    colorwhite;
    font-weightbold;
    positionrelative;
    left-190px;
    font-size25px;
    text-transformuppercase;
    
}
.label2{
    colorwhite;
    font-weightbold;
    positionrelative;
    left-170px;
    top-50px;
    font-size25px;
    text-transformuppercase;
    

}
.label3{
    colorwhite;
    font-weightbold;
    positionrelative;
    left-60px;
    top-80px;
    font-size25px;
    text-transformcapitalize;

}
.name{
    width200px;
    line-height25px;
    border-radius4px;
    text-aligncenter;
    border2px solid white;
    font-weightbold;
    font-size15px;
    colorblack;
}
.email{
    positionrelative;
    top-50px;
    left30px;
    width250px;
    line-height25px;
    border-radius4px;
    text-aligncenter;
    border2px solid white;
    font-weightbold;
    font-size15px;
    colorblack;

}
.message{
    positionrelative;
    top-80px;
    left5px;
    width350px;
    line-height120px;
    border-radius4px;
    /* text-align: center; */
    border2px solid white;
    font-weightbold;
    font-size15px;
    colorblack;

}

Post a Comment

0 Comments