HTML5 Open Academy



CSS Basics

Shai Mesisterano
Web Developer

What we're going to do today?

(45 Minutes) Theory:

(45 Minutes) Exercise...

Part 1

Introduction

We're going to talk about:

Designing web pages using CSS

Turning this...

Into this!

What is CSS?

Why do we want to learn CSS?

Mobile Revolution

Dynamic Revolution

Background

What can we do with CSS?

We already know...

HTML Syntax

Check out this Pen!

CSS in 3 steps...

Part 2

Deep dive into CSS

Adding CSS to a page:

CSS Smiley

Selector { Property-Name : Value }

Hello (red) CSS!

Part 3

Selectors

Type Selectors

Class Selectors

ID Selectors

Who's stronger?

http://overAPI.com/CSS

Styles dictionary

CSS Fallback

What happens when we don't define CSS?

Who, What and... WHERE?!

Embedded Styles

Inline Styles

Check out this Pen!

External Styles

Check out this Pen!

Location Comparison

Part 4

CSS Syntax

Comments

Check out this Pen!

Colors

Units

Images

Font

Text

Links

Part 5

Tips

Shorthands

Use the most specific element!

Define multiple elements, by separating them with a comma!

Be consistent with names!

That's it folks...

Register

http://bit.ly/openacademy4