Pages

Sunday, April 26, 2020

learn how to build up the srction.

Get the code: 1.HTML CODE: "<html lang="en">
<head>
    <title>www.webjogot.ml</title>
    <link rel="stylesheet" href="css/style.css">
</head>

<body>
        <div class="main">
            <div class="sub">
                <p class="para">
                   Webjogot the website.
                   <p class="para2">
                       Here i am helping you to learn <br> HTML ans CSS. You can <br> easily learn from the site.
                   </p>
                </p>
            </div>
            <img src="img/a.jpg" class="img">
        </div>
</body>
</html>"
2.CODE CODE: "*{
    box-sizing: border-box;
}
.main{
    position: relative;
    height: 500px;
    width: 350px;
    background-color: rgb(255, 255, 255);
    margin: 80px;
    border-radius: 20px;
    box-shadow: 0 10px 15px rgb(41, 39, 42);
}
.main:hover{
    transform: translateY(-10px) scale(1.05);
    transition: all .2s;
}
.sub{
    margin-left: 50px;
    position: absolute;
    font-size: medium;
    color: rgb(12, 1, 20);
    font-size: 25px;
    top: 10%;
}
.para{
    color: rgb(238, 22, 22);
    font-size: 30px;
    text-shadow: 0 .5px 1px black;
}
.para2{
    font-size: 15px;
}
.img{
    position: absolute;
    height: 200px;
    width: 250px;
    margin-top: 250px;
    margin-left: 50px;
    border-radius: 10px;
}"

No comments:

Post a Comment