Oh a jelly button & a css hack
Mbenga

Mbenga @jeremymonatte

About: Just a french web guy. Alsow, i love ❤️ Otter ❤️

Location:
Le-Puy-en-Velay, France
Joined:
Jul 8, 2020

Oh a jelly button & a css hack

Publish Date: Aug 3 '20
35 1

Just wanting to show you all a ccs hack.
It use the combinaison of blur & contrast. You should wirte something like that :

.container{
  filter: contrast(20);
  background:white;
  .content1,.content2{
    filter:blur(0.5em);
    background:black;
  }
}
Enter fullscreen mode Exit fullscreen mode

This will make the components a bit like sticky when they move close to each other. You can use it to make some nice loaders, or like that some button :

Comments 1 total

Add comment