Tell me what Is A Class Selector?
Submitted by: MuhammadIn CSS, a class selector is an expression which begins with a full stop (“.”) and followed by the name of a class. The class attribute could be a space-separated list of items, and one of those must match with the class name specified in the selector.
Here is an example which selects a div and modified it style.
.sampleclass {font-family: Ariel; font-size: 10; background: green;}
<div class="sampleclass">....</div>
Submitted by: Muhammad
Here is an example which selects a div and modified it style.
.sampleclass {font-family: Ariel; font-size: 10; background: green;}
<div class="sampleclass">....</div>
Submitted by: Muhammad
Read Online Website Developer Job Interview Questions And Answers
Top Website Developer Questions
☺ | Please explain what is CORS? How does it work? |
☺ | Explain me what is the correct way to include JavaScript into your HTML? |
☺ | Tell me the new APIs provided by HTML 5 standard? |
☺ | Do you know what Is SVG And Why Do You Use It? |
☺ | Tell me how Does CSS3 Support The Responsive Web Designing? |
Top Web Developer Categories
☺ | Bootstrap Interview Questions. |
☺ | Front End Web Developer Interview Questions. |
☺ | Typography Interview Questions. |
☺ | Laravel PHP Developer Interview Questions. |
☺ | Junior Developer PHP Interview Questions. |