Adam watham on design

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the CSS-and-design category.

Last Updated: 2024-11-21

These are some notes from the excellent Refactoring UI Book. I highly recommend you buy a copy.

The general problem

General ideas

Rabbits holes

Depth

  /* offset-x | offset-y | blur-radius | color */
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2)

Line Height best practices

Margin best practices