CSS pseudo class and pseudo element (part-2) 2022

CSS pseudo class and pseudo element (part-2) 2022

 CSS pseudo class and pseudo element (part-2) 2022

Today I will show you different kinds of CSS  pseudo elements and class
 in very easy way lets start 
CSS pseudo class and pseudo element (part-2) 2022
First we make a HTML div . Hopefully you can make it easily.
Now we try to change only p tag background-color  color.
lets start
CSS pseudo class and pseudo element (part-2) 2022
and the result is
Now we change our text color.
How to do it?
lets start coding 
and the result is
Now we changed full div background color. not p tag
lets start coding
and the result is
we can check my CSS content 













Post a Comment

0 Comments