<img src="https://i.ibb.co/R0Y8T8r/nike19.png" alt="" class="box-shadow">
<img src="https://i.ibb.co/R0Y8T8r/nike19.png" alt="" class="drop-shadow">
@import url("https://fonts.googleapis.com/css2?family=Exo:wght@600&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100vw;
min-height: 100vh;
font-family: "Exo", Arial, sans-serif;
background-color: #557;
color: #fff;
display: grid;
place-content: center;
grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
padding: 20px;
gap: 1.25rem;
}
img {
max-width: 80vmin;
height: auto;
justify-self: center;
align-self: center;
}
.box-shadow {
box-shadow: 5px 5px 5vmin 5vmin rgb(250 20 20 / 0.5);
}
.drop-shadow {
filter: drop-shadow(5px 5px 5vmin rgb(250 20 20 / 0.5));
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.