Coder Dojo

Day 2


Instructors: Rohan, Pranay

Open up Coder

code.devoflife.com

Sign back in!

Username: firstLastInitial@devoflife.com

Password: ilovecoding!

CSS

cascading style sheets

What's CSS?

CSS stands for cascading style sheets.

Cascading means that styles can overlap, or cascade, over each other.

There is an order of precedence, or importance, of styles.

How to use CSS

first, link it

							
						
styles.css
							
						

You try!

styles.css
							
						

Common CSS Styles

  • background-color
  • background-image
  • color
  • font-family
  • font-size
  • border-radius
  • border-width
  • boder-style

Images

							
						

Result

cat

The Image Tag

Your task...

  1. Change the fonts
  2. Add some color
  3. Add images
  4. Try to add a border