Statements

A CSS style sheet is composed from a list of statements. A statement is either an at-rule or a rule set. The following example has two statements; the first is an at-rule that is delimited by the semicolon at the end of the first line, and the second is a rule set that is delimited by the closing curly brace, }:

@import url(base.css);
h2 {
  color: #666;
  font-weight: bold;
}

User-contributed notes

Related Products