DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Theofanis Despoudis
Theofanis Despoudis

Posted on

Two CSS properties Walk Into a Bar...

Two CSS properties walk into a bar.

A barstool in a completely different bar falls over.

Top comments (12)

Collapse
 
johannesjo profile image
Johannes Millan • Edited on

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;
}

?

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
 
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
 
caigengliang profile image
chase

CSS is global,New CSS causes historical version crash

Collapse
 
jaakidup profile image
Jaaki

You made my day

Collapse
 
luiz0x29a profile image
Real AI

Good thing the barstool was ! important.

Another day as a dev

Stop by this week's meme thread!