+ 2

What is the worķ of clearfix in CSS ???

CSS

26th Jul 2020, 9:55 AM
Dheeraj Mittal🇮🇳
2 Réponses
+ 1
Suppose you use div tag and image inside it,if image size is bigger than width and height of the div tag then it will overflow.To overcome that clearfix property is used so that it will wrap inside the div tag properly.
26th Jul 2020, 10:23 AM
shubham kumar
shubham kumar - avatar
0
For more information Google it out.
26th Jul 2020, 10:23 AM
shubham kumar
shubham kumar - avatar