1.

Can You Make A Class Selector Particular To An Element Type?

Answer»

You can make it a bit more particular. For EXAMPLE 

h1.black
{
color: #000000;
}

This RULE renders the content in black for only ELEMENTS with class attribute SET to black.

You can make it a bit more particular. For example 

h1.black
{
color: #000000;
}

This rule renders the content in black for only elements with class attribute set to black.



Discussion

No Comment Found