News for hackers. Stuff that matters.
Re:Get HTTPS for free by kelukelugames on Saturday January 30, 2016 @03:23PM (#11003576)
Can you please explain? I want to improve on CSS, but have under developed eye for design.
Re:Get HTTPS for free by 50CNT on Saturday January 30, 2016 @04:22PM (#11003817)
This stuff belongs in the domain of graphical design. Rule of thumb is to provide padding towards the edges around text, a little more to the sides than to the top, eg. [padding: 1em 2em;] depending on the font used because of inherent vertical padding in writing. If the text hugs the container, it seems cramped, and we get distracted by the lines of the bounding container.

I recommend giving "The Elements of Graphic Design" by Alex W. White a read, where he talks about issues of space and typography and why certain conventions exist. CSS is after all a way to express graphical design relations in code, which isn't very useful if one is unaware of the principles driving clear and useful design.

Re:Get HTTPS for free by theIV on Saturday January 30, 2016 @03:31PM (#11003608)
If you don't add padding, the text will touch the very edge of the screen when in a mobile browser.

[edit] see oliv__'s response, it's more detailed than mine :)