Home > front end >  CSS - self-study review
CSS - self-study review

Time:10-24

Four ways to remove floating
1. Add at the corresponding levels to the floating element, set clear: both
2. The parent trigger landing (grade block formatting context)
Note: personal understanding landing is formatted a div with different effects, both inside and outside is triggered, the display, the position, float, overflow.
3. Add parent after, set the display: table, content: ", "clear: both (faults ie6 incompatible pseudo-classes, solution * zoom: 1)
4. Add double pseudo-classes, to the parent attribute again,

CodePudding user response:

Mark the top.

CodePudding user response:

666666. The study notes

CodePudding user response:

  • Related