CSS Reflective Shadows like Image | CSS Shadow

Share on facebook
Share on linkedin
Share on twitter
Share on email
Use "ufd6qb86" For Offers

Learn how to create css reflective shadow


<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./card.css">

    <div class="container">

        <div class="card">
            <img src="./image.jpg" alt="">




    margin: 0;
    padding: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;

    width: 20em;
    position: relative;

.card > img{
    width: 100%;
    border-radius: .5em;
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    -ms-border-radius: .5em;
    -o-border-radius: .5em;

    content: "";
    background-image: url("/image.jpg");
    width: 100%;
    height: 100%;
    position: absolute;
    top: 25px;
    left: 15px;
    background-size: cover;
    filter: blur(15px);
    -webkit-filter: blur(15px);
    z-index: -99;

Get 20% Off on Trading Fee Use "LG3RJV7Z"

More To Explore

Use "ufd6qb86" For Offers