Logo
Talk is cheap. Show me the code.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Justify-content Memes

Posts tagged with Justify-content

Display Flex Justify Content Cry

Frontend Webdev Javascript
3 months ago 77.9M views 0 shares
Display Flex Justify Content Cry
Learning CSS flexbox is like entering a toxic relationship where you think you're in control, but really you're just guessing which combination of properties will finally make that div behave. You add display: flex , feeling confident. Then justify-content: center . The elements move... somewhere. Not where you wanted, but somewhere. So you try align-items . Then flex-direction . Maybe throw in a flex-wrap for good measure. At some point you're just cycling through every flexbox property like you're spinning a slot machine, hoping three cherries line up and your navbar finally looks decent. The Anakin/Padme format captures that moment of dawning horror when you realize CSS doesn't care about your feelings or your deadlines. "The elements go where I want them, right?" ...Right? Narrator: They did not go where they wanted them.

As A True Devoloper

Frontend Webdev
9 months ago 344.8K views 0 shares
As A True Devoloper
The three CSS properties that solve approximately 87% of all frontend alignment issues. You don't need to understand flexbox theory, read the spec, or know what the "main axis" is. Just slap these three lines in and suddenly everything's centered like magic. Been doing this for years and still couldn't explain how it works if my life depended on it. Works every time though.

Today's picks

Cherry KC 200 MX, Wired Mechanical Office Keyboard, Modern Design with Elegant Aluminum Surface, USB-A Connection, MX2A Brown Switches, White/Silver

Cherry KC 200 MX, Wired Mechanical Office Keyboard, Modern Design with Elegant Aluminum Surface, USB-A Connection, MX2A Brown Switches, White/Silver

Affiliate
$59.99
There is no cloud

There is no cloud

Cloud
74.9K views 4 years ago
I cried at that moment.

I cried at that moment.

Programming
98.9K views 4 years ago