Reputation: 1
I have a problem, I need to use one property of a css class in other css class.
.class_a {margin:10px; width: 360px; float: left; color:#ffffff; ...etc...}
.class_b { .class_a of margin }
use in class_b only margin of class_a
thanks!
Upvotes: 0
Views: 141
Reputation: 853
Your quickest option here might be to find the styles you want with firebug or chrome developer tools and add them to your stylesheet.
Upvotes: 1
Reputation: 157334
You cannot do this using traditional CSS, you need to use dynamic approach like LESS
or SASS
Upvotes: 1