asked 43.9k views
4 votes
What is a class in CSS

2 Answers

3 votes

Answer:

A class is a property of the objects, you can make item go to the middle if you insert and class or an id.

Step-by-step explanation:

answered
User HuMpty DuMpty
by
8.8k points
4 votes

In the CSS, a class selector is a name preceded by a full stop (“.”) and an ID selector is a name preceded by a hash character (“#”). The difference between an ID and a class is that an ID can be used to identify one element, whereas a class can be used to identify more than one.

answered
User Fortyrunner
by
8.0k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.