Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css circle shadow

<!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>css</title>

    <style>
        h2{
            text-shadow: 2px 5px 10px black;
            /* from order these are X Y Blur color values */
        }

        .box{
            height: 250px;
            background-color: bisque;
            width: 250px;


            box-shadow: 0px 0px 10px black;
            /* same values as the text shadow */
        }

        .drop{
            /* the css propertie is for this is "drop-shadow" values are same */
        }
    </style>

</head>
<body>
    
    <h1>Types of Shadows in css</h1>

    <h2>text Shadows</h2> 
    <!-- these shadows can be used to give your text a shadow -->

    <div class="box">
        <h1>Box shadows</h1>
    </div>

    <div class="drop">
        <h1>drop shadows</h1>
        <!--you need a png to this -->
    </div>

</body>
</html>
 
PREVIOUS NEXT
Tagged: #css #circle #shadow
ADD COMMENT
Topic
Name
9+9 =