Website Developer Question:

Tell me what Are Pseudo-Classes In CSS?

Tweet Share WhatsApp

Answer:

A Pseudo-Class is a CSS technique to set the style when the element changes its state.

For example.

Edit the style upon mouse hover event.
Set the style when an element gets focus.
Apply different styles for visited/unvisited links.
selector:pseudo-class {
property:value;
}

Download Website Developer PDF Read All 80 Website Developer Questions
Previous QuestionNext Question
Tell me what Is An ID Selector?Tell us what Is The Difference Between <Alert()> And <Confirm()> Popup Boxes?