Dev Helpers
← Back

Build a frosted translucent panel

Build a frosted translucent panel with native CSS. The preview includes a small shared demo stylesheet.

Open this example in the interactive library

Source code

<style>
  .demo {
    background-color: rgb(255 255 255 / 0.45);
    backdrop-filter: blur(5px);
  }
</style>
<div
  style="
    background: repeating-linear-gradient(
      45deg,
      #64c3c7 0 6px,
      #d4eef5 6px 12px
    );
    padding: 1rem;
  "
>
  <div class="demo">Blurred backdrop</div>
</div>