Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Did y'all forget your box model?
Margin and padding is for content not alignment.
That's what top, bottom, left and right is for.
This is why we have so many problems, people are using margin and padding to solve goddamn layout issues.
#thisisacommentiswear -
@Vip3rDev if the css doesn't specify border-box for every element, it's not a css i'll work with.
Related Rants
margin-left: 100px;
rant
margin
clock
css