Special welcome gift. Get 50% off your first courses with code “AS50”. Find out more!

HomeCoachingInterviewCSS Q/AHow can the same properties be defined for different elements without repeating them again and again?
courses 10

How can the same properties be defined for different elements without repeating them again and again?

In order to specify the same style properties for multiple elements in css we can make use of class. Class in general are a group of of instances of the same elements to which the same style can be assigned or it can be a group of different instances to which a common style can be assigned.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

Categories

ads sidebar 1

You May Also Like

It’s about making websites work wherever the web is. Different devices with different sizes and different capabilities. Responsive design is...
It’s an alternative to graceful degradation, which concentrates on the matter of the web. The functionality is same, but it...