Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
AndiLeni3094yFlexbox 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.😄
unknown19234yIn case you cant use flexbox, set a position relative, a top of 50% and a transform translateY(-50%).
yo-yo14254yWhy learn mandarin when you can just eat it? </ShitJoke>
Jappe29864yOr 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
Seudein1454yAs 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.
johnDoe33344yCSS 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😂
iceman9854ylearn programming should be added to the bottom of that list
aviv4434yLe me trying to center something :
/* If flex isn't available: */
/* You're welcome. */