Sunday, 24 April 2022

HTML + CSS #21 | Box Shadow | Blur using CSS | HTML & CSS | Web Development

 <!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .pbox{
        display: flex;
       
    }
    .box{
        padding: 10px 20px;
        margin: 10px 10px;
        box-shadow: 10px 10px 10px 12px black;
       
    }
    #box1{
        background-color: aqua;

    }
    #box2{
        background-color: chartreuse;
    }
    #box3{
        background-color: cyan;

    }
    #box4{
        background-color: darkorange;
    }
</style>
<body>
    <div class="pbox">
        <div class="box" id="box1">HTML</div>
        <div class="box" id="box2">CSS</div>
        <div class="box" id="box3">JAVASCRIPT</div>
        <div class="box" id="box4">REACT</div>
    </div>
</body>
</html>



No comments:

Post a Comment

JAVASCRIPT + CSS + HTML #42 | Event & Event Listener |How to Target using JS | Web Development

  <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < met...