Clearing CSS Floats Without Markup

binarymoon.co.uk / filed under HTML & CSS

This has done the rounds loads of times before – but clearing css floats is something I need to do all the time, and since I have to look up the code on every project I thought I would add it here so that I have a reminder.

Join thousands of product people and get the latest articles and resources from my curation every day or week.