Bootstrap – Clearfix


Bootstrap – Clearfix



”;


This chapter discusses the clearfix feature of helper classes. The clearfix feature in Bootstrap is used to clear floated elements within a container. When elements within a container are floated, the container”s height can sometimes be collapsed, causing issues with the layout.


Here”s an example of how to use the .clearfix class in Bootstrap: