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
-
olback107945yAdding a 1px border makes the element 2px wider and taller. This "debugging" may actually screw you instead of help you. Background color is better.
-
maysi2575yUsing outline or just the browser's built in debugging tools is imo the best option.
Border could fuck up your styles if you use box-sizing: content-box -
@Farshad background: red and background: rgb(0,255,0)... then of course rgb(0,0,255), rgb(255,255,0) rgb(255,0,255) and rgb(0,255,255) are my favorite debugging and layout mock-up colors :D
CSS debug 😂😂😂
joke/meme