These are some simple guidelines to create better looking websites and apps. Click here for a video walk through of these concepts.
Don't reinvent the wheel when it comes to building your design. Find examples to use as guides and then add your own content and design.
-
Awwwards.com is an awesome place to find inspiration for design.
-
Dribbble is another great place to find design inspiration
-
Html5up provides amazing free templates under a creative commons license that only requires attribution.
Content is anything your user will consume beyond navigation or headings. Forms, paragraphs, instructions all fall into the content category.
-
For large content areas, do not go over 550px width. Users of your site/app will lose interest quickly.
-
Always provide at least 15px of margin between content elements
-
If you have a border around your content, provide at least 10px padding between the border and the content area
-
Provide
line-height
of at least1.25
to help your text breathe -
Avoid center-aligning any text more than 3 to 4 words long
-
Never center-align large portions of text — stick to left-justified alignment.
-
Avoid using drop shadows to frame content or text, if you do use one, make it extremely small
General Rule: Pick 1 font for headings and 1 font for content. Keep it simple so the user can focus on your content.
Use a sans-serif font for content elements as it is easier to read on digital devices.
Use serif fonts for headings to add some flare to your site. Avoid using serif fonts for longer blocks of content as they are not as easy to read on digital devices.
Responsive units are a lot of fun to use, but some should be avoided unless you have extensive experience using them.
-
Don't use
vw
andvh
units unless you need some element to go full screen. Example: using vh and vw for a full screen modal pop up would be good, but that's about it. -
For width values, use a
%
or hard coded pixel in aflexbox
For CSS height values, let the content's box model control your height instead of hard coding anything. Hard coded heights can create nested vertical scroll bars instantly hurting your user experience.
- Let the browser do the scrolling, don't use
overflow: hidden
to make up for CSS mistakes
Plan for mobile on day one. Set up your media queries to desktop or mobile first as a priority and not a last thought. You don't need mobile design to think about mobile code structure!
-
When working with mobile layouts: stack everything vertically
-
Provide at least 15px margin from the edge of your content to the edge of the device.
Color trends come and go. Currently we are in a flat and simple color trend across the internet. Choose 2-3 colors and stick to them.
-
Pick a color scheme with good contrast, use http://colorsafe.co
-
Don't use gradients
-
Do use solid / flat background colors