/* Clear the effect of floating on the parent of the floating element*/
.clearFiex::after{ content: ''; display: block; visibility: hidden; height: 0; clear: both; }Write clearFiex in the parent's class tag
Pseudo element clear float
Guess you like
Origin blog.csdn.net/weixin_53748496/article/details/127841957
Recommended
Ranking