DEV Community

Cover image for Meme Monday
Ben Halpern
Ben Halpern Subscriber Community Curator

Posted on

Meme Monday

Meme Monday!

Today's cover image comes from last week's thread.

DEV is an inclusive space! Humor in poor taste will be downvoted by mods.

Top comments (24)

Collapse
 
mattryanmtl profile image
Matt Ryan •

Image description

Collapse
 
russellbateman profile image
Russell Bateman •

And... if that weren't bad enough, to use it, you have to learn a whole framework that's little documented.

Collapse
 
nchandan profile image
NChandan •

This is me

Collapse
 
ben profile image
Ben Halpern •

April Fool's edition, let's get it rolling.

Meme Monday

Collapse
 
darkterminal profile image
Imam Ali Mustofa •

How add this backgound? Seriously I am asking...

Ahahaha

Collapse
 
ben profile image
Ben Halpern • • Edited

We add classes based on tags to every page, and this is some custom css to latch on to the tag.

<style>
  @keyframes barrelRoll {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  .articletag-doabarrelroll {
    background: #010100;
    background: url(https://media2.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj27fydricaw99jhkzwic.png) no-repeat center center fixed;
    background-size: cover
  }

  .articletag-doabarrelroll .crayons-layout {
    animation: barrelRoll 2s ease-in-out 1; /* Animation name, duration, timing function, iteration count */
  }


  .articletag-mememonday {
    background: #c21da4;
    background: url(https://media2.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffc70vzle6p0y0zb7p5om.png) repeat;
  }

  .articletag-perfectlycromulent {
    background: #f4f4f4;
    background: url(https://media2.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frzs6a59uuxjx328uu9p7.png) repeat;
  }

  @keyframes vibrate {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

.articletag-shakethingsup {
  animation: vibrate 0.1s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .articletag-shakethingsup {
    animation: none;
  }
  .articletag-doabarrelroll .crayons-layout {
    animation: none;
  }
}
</style>
Enter fullscreen mode Exit fullscreen mode
Thread Thread
 
ben profile image
Ben Halpern •

Maybe we should let people add their own backgrounds on all posts? 🤔

Most likely a terrible idea.

Thread Thread
 
darkterminal profile image
Imam Ali Mustofa •

Aaah... so this is built-in feature so people can't set their own background... 🤣 I want like specify the frontmatter like:

background_image: <display.image.url>
background_repeat: true
Enter fullscreen mode Exit fullscreen mode
Thread Thread
 
darkterminal profile image
Imam Ali Mustofa •

This is will be fun and terrible idea!

Thread Thread
 
ben profile image
Ben Halpern •

Yeah, this is sort of an admin hack for April Fool's — maybe a bit too hideous for normal use, idk.

Thread Thread
 
darkterminal profile image
Imam Ali Mustofa •

Yes! So don't...

But how about random image background in CSS 🤣 I am joking

Thread Thread
 
corentinbettiol profile image
Corentin Bettiol •

@ben It could be fun to unlock custom backgrounds for posts based on some metrics (activity, years of service, ...), as a reward. Not too extravagant ones, of course :)

Collapse
 
renancferro profile image
Renan Ferro •

Image description

Collapse
 
anitaolsen profile image
Anita Olsen •

If programming languages were exam papers 😁
Image description

Collapse
 
citronbrick profile image
CitronBrick •

It's been years since I saw this meme, & despite being acquainted with all these languages, I never got the Python joke. How is Python import, that different from C include or JavaScript import ?

Collapse
 
janmpeterka profile image
Jan Peterka •

I'd guess it's because there is package for almost anything in Python, so you do a lot of importing if external libraries.

Collapse
 
zangassis profile image
Assis Zang •

Image description

Collapse
 
n3m3s7s profile image
Fabio Politi •

Image description

Collapse
 
brandtryan profile image
brandtryan •

Image description

Collapse
 
phalkmin profile image
Paulo Henrique • • Edited

Can't embed tik tok, so here's the link :P tiktok.com/@devkit_llc/video/73396...

Collapse
 
darkterminal profile image
Imam Ali Mustofa •

Come on!
I just want to share it

Collapse
 
yowise profile image
a.infosecflavour •

semicolon