Facebook page using html and css


source code html


<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Facebook</title>
        <link rel="stylesheet" href="fb.css">
    </head>
    <body>
        <div class="left">
            <p class="h1">
                facebook
            </p>
            <p class="h2">
                Facebook helps you connect and share <br>
                with the people in your life.
            </p>
        </div>
        <form action="#" method="POST">
            <label for="email"></label>
            <input type="text" id="email" placeholder="Email adress or phone number">
            <br> <br>
            <label for="pass"></label>
            <input type="text" id="pass" placeholder="Password">
            <br> <br>
            <button class="button" type="submit">
            <b>
                Log In
            </b>
            </button>
            <br> <br>
            <a href="#" class="forgo">
                Forgotten Password?
            </a>
            <br> <br>
            <hr>
            <br>
            <button class="ca">
                Create New Account
            </button>
        </form>
        <p class="page">
            <a href="#" class="black">
                <b>
                    Create a Page
                </b>
            </a>
            for a celebrity, band or business
        </p>
    </body>
</html>


                          source code css


body {
    background-color: rgb(224224226);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.left {
    margin-top200px;
    margin-left180px;
}
.h1 {
    color: rgb(25118240);
    font-size62px;
    font-style: normal;
    font-weight: bolder;
}
.h2 {
    font-size25px;  
    margin-top-60px
}
form {
    width360px;
    background-color: white;
    padding17px;
    height340px;
    border-radius10px;
    box-shadow2px 2px 7px rgb(170169169);
}
input {
    width340px;
    height50px;
    padding-left15px;
    font-size: larger;
    border1px solid rgb(180179179);
    border-radius5px;
    opacity70%;
}
.button {
    width360px;
    height50px;
    font-size: larger;
    border1px solid rgb(180179179);
    border-radius5px;
    background-color: rgb(25118240);
    color: white;   
}
form {
    margin-top-220px;
    margin-left750px;
}
.forgo {
    margin-left100px;
    color: rgb(25118240);
}
.ca {
    margin-left80px;
    color: white;
    background-color: rgb(3918439);
    width210px;
    height50px;
    font-size: larger;
    border1px solid rgb(180179179);
    border-radius5px;
    font-weight: bolder;
}
hr {
    opacity50%;
}
.black {
    color: black;
}
.page {
    text-align: right;
    margin-right125px;
}


Comments

Popular Posts