Course: CSCI 1210

Gestalt Web Design

Advanced CSS

Classes

  • Used to apply format to tags, typically with kebab-case
  • Selected in CSS with the .[class] where [class] is the name of the class
    • You can classes within elements, such as p.foo for paragraphs with class="foo"
  • You can have multiple classes on an element, separated with spaces