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
AndiLeni3055yFlexbox 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.😄
unknown18735yIn case you cant use flexbox, set a position relative, a top of 50% and a transform translateY(-50%).
yo-yo13945yWhy learn mandarin when you can just eat it? </ShitJoke>
Jappe29585yOr 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
johnDoe32875yCSS 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😂
iceman9745ylearn programming should be added to the bottom of that list
aviv4325yLe me trying to center something :
/* If flex isn't available: */
/* You're welcome. */