Writing efficient CSS selectors →

The difference in speed between an ID and a class is almost totally irrelevant.

A test selecting on a type (<a>), rather than a class or ID, gave a much slower reflow.

There are a few things I didn’t know here.

Comments Off

Categories Links