3 ms·
CSS is simple. It uses two basic constructs: rule and its selector. Selector is SQL's SELECT/WHERE statement essentially that says: When the element conforms
by c-smile 8y ago
CSS is simple.
It uses two basic constructs: rule and its selector.
Selector is SQL's SELECT/WHERE statement essentially that says:
When the element conforms this condition it has these set of properties. Any element may have multiple rules applied with matching selectors in particular order (so called CSS specificity).
And there are 20-30 basic CSS properties defining different aspects of layout and rendering.
Yes, there are 200+ other properties (and counting) in the full set. But that's for Jedii and merely 10-20 of us who are in business of creating layout engines.
It used to be more of us but the ones from MS are lost for the Republic - all their events were bubbled up onto the Dark Side.