Header image

Posts Tagged ‘css box model’

CSS: changing the box-sizing property

What is it? The standard CSS box model works in the following manner (ignoring early versions of Internet Explorer). Total width of the box = declared width + padding + border (please refer to the diagram below). So in our CSS code for example, we would have something like this: div.our-box { width: 100px; padding: 20px; ... Read more ➤

Copyright © 2015 All rights reserved - Website by SimonIT.co