Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 450 Bytes

cascading-style-sheets-css.md

File metadata and controls

27 lines (22 loc) · 450 Bytes

Cascading Style Sheets(CSS)

Blur background

<div
  className="rounder-md"
  style="background: url(https://source.unsplash.com/user/jackie/likes/1600x900) no-repeat"
>
  <div className="blur">
    <div>Content</div>
  </div>
</div>

Style:

.blur {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  height: 100%;
  width: 100%;
}