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
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
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
0 Comments