View on GitHub

reading-notes

https://samahabujwaied.github.io/reading-notes/

CSS associates style rules with HTML elements

CSS works by associating rules with HTML elements. These rules govern how the content of specified elements should be displayed. A CSS rule contains two parts: a selector and a declaration.

The elements displayed in css : you can declarations sit inside curly brackets and each is made up of two parts: a property and a value