CSS - Blur effect

0 votes
195 views
added Jun 12, 2020 in CSS by lcjr First Warrant Officer (11,790 points)
/*the blur effect are passing behind the sticky - thus, the lower element will be blurred*/
.blur { 
  background: rgba(0,0,0,0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

/*e.g apple.com main menu*/

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...