4 ms·
From that spec: > Concatenating the four numbers a-b-c-d (in a number system with a large base) gives the specificity. So webkit is using 256 as "a large base
by bodhi 14y ago
From that spec:
> Concatenating the four numbers a-b-c-d (in a number system with a large base) gives the specificity.
So webkit is using 256 as "a large base".
I only just read this spec a few months ago. For years I was under the impression that the spec was "1 point for an element, 5 for a class, 10 for an id", and the selector with the highest point value won...