UI Deploy

Curated, Short, Web UI Dev we Love.

How element spacing works

Designing a website in your browser isn’t the same thing as designing a website in Photoshop or Illustrator. In those programs, you use arbitrary shapes and alignment tools to mock up a page. On the web, you use HTML and CSS to accomplish your layout goals. At the heart of HTML and CSS is the concept of the box model, which we're going to learn in this short article.

view source

Advertisement