This document provides an introduction to visually appealing web design using CSS3. It discusses the 960 grid system as a framework for streamlining web development workflow. Key elements of great design such as color, texture, white space and typography are covered. The document also outlines supported CSS3 properties that are widely adopted like border-radius, text-shadow and box-shadow. Hands-on practice with these techniques is encouraged along with additional resources for further learning.
1 of 29
Downloaded 56 times
More Related Content
CSS3 for web designer - How to design a visually appealing website
1. CSS3 for web designers
A hands-on introduction to visually appealing web design
by Mario Hernandez
web: http://designsdrive.com
twitter: @designsdrive
Southern California Code Camp 2011
2. Agenda
Intro to 960 Grid System
Elements of great design
Supported CSS3 properties
Hands-on web design
Additional resources
4. What is a grid system?
A series of columns working as guides to
streamline web development work鍖ow by
providing commonly used dimensions, based on
a 鍖xed width of 960 pixels.
Source: Wikipedia
5. Why use a grid system?
Saves time
Saves money
Reduces frustration
6. How do grid systems work?
Grid systems are built
using columns
Columns are grid
systems smallest
unit of measurement
The two most popular
version of a grid system
are 12 and 16 columns
Example based on 960.gs (12 columns)
7. Column width
Page regions (header,
sidebar, content, etc.,)
are de鍖ned by column
width
As in: The header is
eight columns wide
Example based on 960.gs (12 columns)
8. Gutters (margins)
Margins are used to
create gutters between
columns
These margins provide
gutters between page
regions
Example based on 960.gs (12 columns)
9. Floating <div> elements
The wrapping <div> class: grid_12
elements are assigned a
column width using a class: grid_4 class: grid_4
class:
CSS class grid_4
Because these classes class: grid_8
also 鍖oat the elements,
they simply fall into
class: grid_6 class: grid_6
place on the page
10. What is 960.gs?
960.gs also known as the 960 Grid System was
created by Nathan Smith in order to streamline
web development work鍖ow
Its both a prototyping and development framework
Download it from http://960.gs
Source: 960.gs
11. Whats in it?
You can download it from http://960.gs
GPL and MIT licensed
The 960.gs download includes:
Printable sketch sheets for
doodling
Design templates for all most
applications: Photoshop, Illustrator,
Inkscape, OmniGraf鍖e, etc.
Source: 960.gs
13. Grid system CSS classes
grid_x (where X indicates
the number of columns an
element is given)
alpha & omega: Fix 鍖oats
on nested regions
pre鍖x & suf鍖x: Allow empty
spaces before or after a
region
grid_4 grid_4
pull & push: Rearrange push_6 pull_6
regions independently of
the order they appear on
the markup
Source: 960.gs
14. Grid system CSS classes
grid_x (where X indicates
the number of columns an
element is given)
alpha & omega: Fix 鍖oats
on nested regions
pre鍖x & suf鍖x: Allow empty
spaces before or after a
region
grid_4
pull & push: Rearrange push_6
pull_6
regions independently of
the order they appear on
the markup
Source: 960.gs
15. Grid system CSS classes
grid_x (where X indicates
the number of columns an
element is given)
alpha & omega: Fix 鍖oats
on nested regions
pre鍖x & suf鍖x: Allow empty
spaces before or after a
region
grid_4 grid_4
pull & push: Rearrange pull_6 push_6
regions independently of
the order they appear on
the markup
Source: 960.gs
17. Great design
A well designed product gives the impression that it works well
Source: Apple.com
18. Great design
Better designed
websites appear
easier to use
Generally people
associate great
design with
something that
works well
Source: http://mailchimp.com Source: MailChimp.com
24. CSS3
Use CSS3 to target the experience layer
Focus on the properties that are widely supported
Do not sacri鍖ce functionality for looks
Critical Non-critical
Branding Interaction
Usability Visual rewards
Accessibility Feedback
Layout Movement
Source: CSS3 for web designers book by Ethan Marcotte
28. Resources
960 Grid System: http://960.gs
CSS3 Resources: http://www.css3鍖les.com
By Dan Cederholm By Dan Cederholm By Ethan Marcotte
29. Contact me
Web: http://designsdrive.com
Email: designsdrive@gmail.com
Twitter: @designsdrive
Editor's Notes
#2: I have been designing website for about 10 years. For the past 6-7 years I have been doing it as a full time web developer for the federal government. During all this time, I have also been running my own independent freelance business and that&#x2019;s where I get to be a little more creative.\n
#5: This definition is specifically for the type of grid system we&#x2019;ll be discussing today. As you will see, there are other grid systems for different functions.\n
#6: You no longer need to spend time hacking IE.\nNot every project lends itself to a grid system. So if you are having difficulties with a grid system I would suggest you take a closer look at your project&#x2019;s requirements and ask yourself whether the grid system is the right tool for this particular project.\n\nA GRID SYSTEM IS NOT A SILVER BULLET.\n
#7: There is a 24 column but it&#x2019;s not widely used as the 12 or 16 columns version. There is also a fluid version which is gaining a lot of traction especially when it comes to responsive web design which allows for the grid to be resized automatically based on the size screen it&#x2019;s being looked at.\n
#8: You no longer measure your regions in pixels. You use columns as the measurements unit\n
#9: You don&#x2019;t have to do the math yourself. All the calculations have already been made for you so you can focus on design.\n
#10: All elements float to the left by default. If you know a little about floating elements you&#x2019;ll know that floating elements to the left automatically aligns everything horizontally.\n
#17: The premise of this session is not to teach you all there is to know about great web design, first of all because I don&#x2019;t know everything there is to know about great web design. The idea is to introduce you to principles and techniques that will help you become a better designer. \n
#18: Example of this are apple products. The other side of the coin is also true. Personally when I visit a poorly designed website, I become skeptical or suspicious whether it works well or I make a pre-assumption that this website may not work well. Better yet, I question the company&#x2019;s reputation or trust if I am about to do business with them.\n
#19: Example of this are apple products. The other side of the coin is also true. Personally when I visit a poorly designed website, I become skeptical or suspicious whether it works well or I make a pre-assumption that this website may not work well. Better yet, I question the company&#x2019;s reputation or trust if I am about to do business with them.\n
#20: Using helvetica font. Talk about the helvetica documentary.\n
#24: Using helvetica font. Talk about the helvetica documentary.\n
#25: Before we get into it. I would recommend you get a hold of the following 3 books. Start with HandCrafted CSS then to get a good foundation on CSS in general. Then move on to CSS3 for web designers and finally, Responsive web design. You will become a better designer after you have gone through these books.\n
#26: Talk about the fact that css3 is a series of modules that run independently from each other. This is a good thing. This means you can implement only those properties that are widely supported.\n