pseudo classes

link style with pseudo class

hover me to see the result

HEY! How are you? welcome home!

first child selector

This is first child element of class p2

This is last child element of class p2

last child selector

This is paragraph and some content inside it.

Effect on click



style button by pseudo classess

pseudo class="checked"




pseudo class :before

cover your mouth with mask as precaution from corona virus

pseudo class :after

Sanitize your hand after every 15 minute.stay safe!

pseudo class ::first-letter

Please follow all the advisory from the government of india

This is paragraph number two

sport: india has a great day today
as all the player played well throuhout the day one.