reading-notes
CSS Notes
Cascading Style Sheets
Used to style html elements
Rule Based
CSS can be applied to HTML through:
A references stylesheet (external CSS)
Adding style element to HTML (internal)
Adding a style attribute to a single HTML element (inline)
Color can be applied to text by using any of the following:
Hex Value: #92a8d1
RGB: rgb(201, 76, 76)
HSL: hsl(89, 43%, 51%)
HSLA: hsla(89, 43%, 51%, 0.6)
Color: color: red;