Skip to content


Image text overlay

Displays a text on top of an image using an overlay.

  <h3 class="text-overlay">Hello, World</h3>
  <img src="">
div {
  position: relative;

.text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem;
  font-size: 2rem;
  font-weight: 300;
  color: white;
  backdrop-filter: blur(14px) brightness(80%);

More like this

Start typing a keyphrase to see matching snippets.