Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
AndiLeni3123yFlexbox to the top!
Yeah yeah, in theory there are 200 ways to do this and actually we know them.
But there's always this case where you try your ass off and nothing does the job.😄
unknown19463yIn case you cant use flexbox, set a position relative, a top of 50% and a transform translateY(-50%).
yo-yo14673yWhy learn mandarin when you can just eat it? </ShitJoke>
Jappe30423yOr if you want to shit all over the page you use:
Fuck css in particular, son of a bitch
this works 90% of the time
Seudein1463yAs mostly a back end developer, CSS is like some fickle creature you have to give your love and attention to and fiddle with 20 different knobs and then it will work, slowly, but eventually... But not in all environments... And you just ask yourself why is this even worth the hassle.
As a back end developer, CSS is still much better than what we have.
johnDoe33703yCSS is great. Write 5 lines, run it; didnt work. Rewire, run again; didn't work. Repeat 2 more times...
"Yes! The text stays within my margins!"
Flex box will change your life! ;)
Put a TODO,now it's another person's problem😂
iceman9723ylearn programming should be added to the bottom of that list
aviv4543yLe me trying to center something :
/* If flex isn't available: */
/* You're welcome. */