Learn the Basic CSS Selectors

Hey guys…!!!

Although I’m still in the process of learning CSS. I just thought of sharing what I learned with you.

I’m going to show you Some basic CSS Selectors and the ways in which they work.

Photo by Joshua Aragon from Unplash.com
Photo by from Unplash.com

What are CSS Selectors

CSS selectors are used to define the elements to style with CSS / If you want to style tags or If you want to style only for some parts of tags of tags / If you want style only one part of tags, then you can use CSS selectors.

Imagine that a school teacher wants to ask a…

Chamika Rathnayaka

Undergraduate at University of Moratuwa

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store