Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Iterate through these rules whenever making any changes.
- Mobile first without hindering desktop
- No sidebars
- No hover-to-reveal
- All images must be retina-ready
- All images must include original source files
- Anything that can be SVG, must be SVG
- Think long and hard about adding any JS
- No mention of pixels besides borders. Only ems or percentages.
- CSS selectors must not relate to HTML structure
- No nesting beyond 2 levels deep
- All colors must be variables
- Keep layout separate from styling
- No importants
- No ID selectors
- Only use negative margins as a last resort
- All loaded fonts must start with properly-sized fallbacks
- Must be easy
- Must be able to be done from anywhere
Clone this wiki locally
Press h to open a hovercard with more details.