CSS Debugging
- •
Procedure
- •
inspect the actual Document Object Model (DOM)
- •
verify that the intended selector matches
- •
inspect the computed property and the declaration that won the CSS Cascade
- •
identify the formatting context and whether the element is actually a flex/grid item
- •
for overlap, inspect ancestor Stacking Contexts and clipping separately
- •
make a targeted change, then check affected viewport sizes and content cases
- •
- •