<div class="hide">
<h1 id="versatility">VERSATILITY</h1>
<h2 id="kittens">KITTENS</h2>
</div>
<!-- <div class="typography-background"></div> -->
<div class="grid">
<img src="http://placekitten.com/200/300" alt="">
</div>
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background-color: rgb(250,150,10);
}
.hide {
height: 0px;
overflow: hidden;
}
#kittens {
font-weight: 200;
}
h1 {
text-align: center;
font-weight: 900;
font-size: 50px;
}
body {
min-height: 100vh;
background-image: -moz-element(#versatility);
background-repeat: repeat-y;
background-position: center;
}
.grid {
display: grid;
place-content: center;
min-height: 100vh;
}
.grid:after {
content: "";
background-image: -moz-element(#kittens);
height: 200px;
width: 150px;
transform: rotate(-90deg);
position: absolute;
bottom: 0;
right: 0;
}
img {
filter: grayscale(90%);
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.