1.

Can I Attach More Than One Declaration To A Selector?

Answer»

Yes. If more than one declaration is attached to a selector they must appear in a SEMI COLON SEPARATED list, e.g.;

Selector {declaration1; declaration2}
P {background: white; color: black}

Yes. If more than one declaration is attached to a selector they must appear in a semi colon separated list, e.g.;

Selector {declaration1; declaration2}
P {background: white; color: black}



Discussion

No Comment Found