Which CSS property is used to clear the effects of floating elements?

  • border
  • clear
  • margin
  • padding
The clear property in CSS is used to clear the effects of floating elements. It ensures that no element should touch the left or right-hand sides of a floating element and that it should appear below any preceding floating elements.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *