What are pseudo class in css

+1 vote
I want to know how pseduo class is useful in css and what's its main use in css?
Jan 20, 2020 in Web Development by anonymous
• 37,520 points
1,218 views

1 answer to this question.

+1 vote

Hey,

The state of an element is controlled  by the help of pseduo class.

It is used to style element when mouse is hover over it (like changing color),  focus on an element or   used to change the opacity of an element.

For example:- anchor tag can use pseudo class in the following  ways-

answered Jan 20, 2020 by Niroj
• 82,800 points

edited Jan 21, 2020 by Niroj

Related Questions In Web Development

0 votes
1 answer

What are Best Practices for preventing SQL injection in node-mysql?

Best Practices for Preventing SQL Injection in ...READ MORE

answered Oct 21, 2024 in Web Development by Navya
• 460 points
492 views
0 votes
1 answer
0 votes
1 answer

What is the use of display: none; in CSS?

In CSS, the display property determines how ...READ MORE

answered Oct 28, 2024 in Web Development by kavya
376 views
0 votes
1 answer

What is the purpose of z-index in CSS?

The z-index CSS property sets the z-order of a positioned element and ...READ MORE

answered Oct 29, 2024 in Web Development by kavya
257 views
0 votes
1 answer
0 votes
0 answers

Anyone can help me out to understand the semantic of (document.getElementBYId("demo").innerHTML="Hello") ?

Hello guys, Can Someone helps me to find ...READ MORE

Jan 17, 2020 in Web Development by anonymous
• 37,520 points
1,159 views
+1 vote
1 answer

What is the relationship between angularjs Scope with controller/view?

Let us consider the below block: <div ng-controller="emp"> ...READ MORE

answered Jan 20, 2020 in Web Development by Niroj
• 82,800 points

edited Jan 21, 2020 by Niroj 1,621 views
0 votes
3 answers

Explain the difference between visibility:hidden; and display:none?

display:none means that the tag in question will ...READ MORE

answered Dec 14, 2020 in Web Development by Gitika
• 65,730 points
120,591 views
+1 vote
1 answer

What are the different types of pop-up boxes available in JavaScript?

There are  basically three types of pop-up ...READ MORE

answered Jan 22, 2020 in Web Development by Niroj
• 82,800 points
1,855 views
+1 vote
1 answer

What is css box module?

Hey, All the element present in html follows ...READ MORE

answered Jan 20, 2020 in Web Development by Niroj
• 82,800 points

edited Jan 21, 2020 by Niroj 1,510 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP