DEV Community

Two CSS properties Walk Into a Bar...

Theofanis Despoudis on July 04, 2019

Two CSS properties walk into a bar. A barstool in a completely different bar falls over. Thomas Fuchs 🌵 ...
Collapse
 
johannesjo profile image
Johannes Millan • Edited

Is it funny if I tell the joke like this:

.another-bar.bar .chair{
  position: fixed;
  bottom: 0;
}

.this-bar .chair,
.bar .chair {
  position: sticky !important; 
  transform: rotate(920deg);
  transition: 1s all not-smooth;
  float: none;
}

Enter fullscreen mode Exit fullscreen mode

?

Collapse
 
sollace profile image
­Sollace

This is like an anti-joke. :|

Collapse
 
sanidz profile image
sanidz

Host selector walk in to a bar.
There is no bar anymore. ha - ha

Collapse
 
afmhorizon profile image
Alex F. Musumeci

I get it.

Collapse
 
mrfrasier profile image
mrfrasier

Please enlighten

Collapse
 
perpetual_education profile image
perpetual . education

Should I take a screenshot of this page and then post it - so we go a few levels deeper? Or - should I just scope my things properly?

Collapse
 
caigengliang profile image
chase

CSS is global,New CSS causes historical version crash

Collapse
 
petrosvoivontas profile image
petrosvoivontas

Παναγία μου... 😂

Collapse
 
reach009 profile image
Reach Allen

I don't get the joke. Can anyone explain to me? Haha

Collapse
 
perpetual_education profile image
perpetual . education

It's the same joke as "A blind man falls in a hole and dies because he didn't know what he was doing" - which - depending on your culture - is funny? We thought it was kinda sad.

Collapse
 
jaakidup profile image
Jaaki

You made my day

Collapse
 
luiz0x29a profile image
Real AI

Good thing the barstool was ! important.