Skip to main content

basic-syntax

Basic Syntax​

CSS (Cascading Style Sheets) follows a simple syntax for styling HTML elements. Each CSS rule consists of a selector, followed by a set of declarations enclosed in curly braces.

Example CSS rule:

selector {
property: value;
}