Click-area
Makes the entire element with this class clickable, based on the
first <a />
it can find in its (sub-)DOM. It does not
have to be a direct descender.
A word of caution
not all elements support ::after
in all browsers, (e.g. tr
) in at least Safari. This means that .click-area
will expand to the next parent (which could well be the entire page). Always test your work in multiple browsers!