CSS Basic Tutorial
CSS Flexbox
CSS syntax consists of a set of rules that are applied to HTML elements. Each rule has two main parts: selectors and declarations.
selector { Property: value; }
h1
, p
), classes (.classname
), and IDs (#idname
).{}
. Each declaration consists of:color
, font-size
).blue
, 16px
).Try it yourself