clearing float right image code example
Example: Float element should has parent element that defined clear property.
.clearfix::after {
content: " ";
display: block;
height: 0;
clear: both;
}
.clearfix::after {
content: " ";
display: block;
height: 0;
clear: both;
}