You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that the clearfix util is using the display: table/block method, however there is a more modern approach which is to use display: flow-root.
Hi @aarongeorge, I've think that in that case it's not absolutely necessary to use a mixin because you have a single property solution. A possible use case is when you need to refactor your codebase and migrate the @util clearfix to that new solution. Also, it's not fully cross-browser yet, but I'll keep this issue open to review it later.
I've noticed that the clearfix util is using the
display: table/block
method, however there is a more modern approach which is to usedisplay: flow-root
.A demo is here showing it off.
The text was updated successfully, but these errors were encountered: