reading-notes

My reading notes


Project maintained by brandomoki Hosted on GitHub Pages — Theme by mattgraham

What is CSS

Cacading Style Sheets

Examples- Change color of text and size of headings. Change single column text into a layout. You can even add animation.

CSS syntax

How to add CSS

  1. External CSS
    • Change entire website with just one file
    • Each HTML page must include a reference to the external style sheet file inside the <link> element.
  2. Internal CSS
    • Internal style sheet if one specific HTML page has a unique style
    • Internal style is defined inside the <style> element
  3. Inline CSS
    • Used to apply a unique style to a single element
    • To use add the style attribute to the relvant element
    • The style attribute can contain any CSS property.