Notable CSS Tips


I found a CSS tip today that was new to me. You can find it as the last item on this CSS Validation Advanced Tips page.

Incase the link ever changes. The tip is to use: element * [att] (p * [href]) to target an element with the specified attribute on it. Targeting any p element with the attribute ‘href’ on it. Pretty nifty.

Categorized as news