the basics of css3

8
The Basics of CSS3

Upload: joshsurovey

Post on 30-Oct-2014

503 views

Category:

Technology


4 download

DESCRIPTION

This brief slideshow gives you an idea of what css3 is capable of.

TRANSCRIPT

Page 1: The Basics of CSS3

The Basics of CSS3

Page 2: The Basics of CSS3

Brief Intro

CSS (Cascading Style Sheets) have been around for awhile now

which allow us to produce better websites. Due to the

advancement of CSS3, we are now able to do things a lot easier.

Things such as drop shadows, rounded corners, text shadows,

multiple background images, and much more. Although the

capabilities of CSS3 have expanded, most of the customizations

will only be noticed in Google Chrome, Firefox, and Safari.

Page 3: The Basics of CSS3

Rounded Corners

Example of Code:

-webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;

Page 4: The Basics of CSS3

Drop Shadow

Example of Code:

-webkit-box-shadow: 5px 5px 5px #888; -moz-box-shadow: 5px 5px 5px #888; box-shadow: 5px 5px 5px #888;

Page 5: The Basics of CSS3

Multiple Background Images

Example of Code:

background: url(images/staple.png) top left no-repeat, url(images/staple.png) top right no-repeat, url(images/staple.png) bottom left no-repeat, url(images/staple.png) bottom right no-repeat;

background-color: #eee;

Page 6: The Basics of CSS3

Text Shadow

Example of Code:

text-shadow: 1px 1px 2px #000;;

Page 7: The Basics of CSS3

Letter Press

Example of Code:

text-shadow: 0 1px 0 #fff, 0 -1px 0 #000;

Page 8: The Basics of CSS3

Gradients

Example of Code:

background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eee), to(#999)); background-image: -moz-linear-gradient(100% 100% 90deg, #999, #eee);