Reading-Notes


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

Cascading Style Sheet ( CSS )

## What is CSS ? CSS is used to control the style of a web document in a simple and easy way. Also, allows you to create great-looking web pages

For more on browser/default styles, check out the following video: The Best video Tutorial in Youtube Channle

How to use it?

There are 3 ways:

  1. inline within the tag parameter style=”color:red;font-size:16px”
  2. Internal in style tag into the head tag
  3. External wich include three ways to do it

    3.1 tag name itself (P)

    3.2 Id (#idElement)

    3.3 Class (.className)

Properties and values

At its most basic level, CSS consists of two components:

Properties: These are human-readable identifiers that indicate which stylistic features you want to modify. For example, font-size, width, background-color. Values: Each property is assigned a value. This value indicates how to style the property.