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
AndiLeni3046yFlexbox 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.😄
unknown18586yIn case you cant use flexbox, set a position relative, a top of 50% and a transform translateY(-50%).
yo-yo13876yWhy learn mandarin when you can just eat it? </ShitJoke>
Jappe29376yOr 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
johnDoe32566yCSS 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😂
@CoffeeAllDay so this must be one of your struggles 😜
iceman9676ylearn programming should be added to the bottom of that list
aviv4306yLe me trying to center something :
/* If flex isn't available: */
/* You're welcome. */
king56346yI wrote a blog post on this! https://blog.kabir.ml/posts/...
Front-end developer's to-do list :
☑ Climb Everest
☑ Learn how to speak mandarin
☑ Become god
◻ Vertically center something in CSS