css - What is the ideal padding-top value for modern, responsive HTML5 layouts? -


twitter bootstrap 2.0 comes padding-top of 20px, used push down container navbar doesn't hide it, if site or app doesn't have navbar @ top, 60px isn't one-size-fits-all value. 60px fine 1280x1024 , higher layouts, lower 1024px wide , starts little blank space.

i'm guessing value have responsive. these media queries in twitter bootstrap's responsive css:

@media (max-width: 480px) { ... } @media (max-width: 767px) { ... } @media (min-width: 768px) , (max-width: 979px) { ... } @media (max-width: 979px) { ... } @media (min-width: 980px) { ... } @media (min-width: 1200px) { ... } 

what ideal padding values each?

update: how 20px? seems fine @ 320x480 , not shabby @ 1920x1080 either.

it depends on you're trying achieve, of course! cool thing can have vertical media queries, - maybe use adapting top padding instead of looking @ viewport width?


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -