We use CSS Selectors, to deteced and control the HTML elemenet or div we want to style or "change"
There are five types of CSS selectors:
We use the id selector to control unique elemenet with an id.
We control the id "box" using CSS id selector:
We use the element Selector to control elements based on their name.
We control the entire page Paragraphs:
We use the Universal selector to control all HTML elements that located in the current page.
We use the class selector to control HTML elements that associated with a class attribute, we use a period to use the class selector :
You can control specific part of the class for example if we have class that contain paragraphs and other elemenets we can control only paragraphs:
We use the grouping Selector to control HTML elements with the same style definitions
Where to learn CSS in 2020?, you are in the right place, CSS coding for beginners and above, we are the best website to learn html css and for free, we will always be free, learn html and css fast.