Explore the use of Cascading Style Sheets (CSS) for your website. We will discuss templates, page layouts, easy ways to create and adapt styles.
What is CSS? What is the difference between CSS and HTML?
CSS Syntax
A rule has:
Selector: targets which element to change. Can be HTML tag (p, h1, h2, etc.), ID or Class, or more complex based on position of element in the document
Declaration: made up of properties (what to change) and values (how to change it),
e.g. color: red
(Image courtesy of Creative Commons - see full site)
Style sheets are composed of a series of rules.
Pay attention to the punctuation - Spaces don’t matter, but colons, semicolons, braces do!
Lynda.com provides over 77,000 training videos related to new technologies and software. Faculty, students, and staff can access Lynda through pennkey access via Lynda Campus.
Check out a few of Lynda's CSS courses: