Casco Bay High School logo
Casco Bay High SchoolSTEM Program
  • Home
  • Courses
  • WEB DESIGN
  • STEM Endorsement
  • Extended Learning
  • College Programs
  • Alumni
  • Community Resources

CSS: Style Your Web Page

Start with these CSS basics, then open a topic for a short lesson, code example, and learning links.

Getting Started with CSS

Learn how CSS changes the look of a web page.

Writing CSS Rules

Learn the selector, property, and value pattern.

CSS Selectors

Choose which HTML elements to style.

Colors and Backgrounds

Use named colors, hex colors, and backgrounds.

Text and Fonts

Make text clear and comfortable to read.

The Box Model

Understand the space around every element.

Margin and Padding

Control space outside and inside an element.

Page Layout with Flexbox

Arrange items in rows or columns.

Responsive Design

Help a page work on small and large screens.

Casco Bay High School

196 Allen Avenue, Portland, ME 04103

cbhs.portlandschools.org