Performance: Container types (container, container-fluid)
MEDIUM IMPACT
This concept affects page layout rendering speed and visual stability by controlling container width and responsiveness.
<div class="container"> <!-- content --> </div>
<div class="container-fluid"> <!-- content --> </div>
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| container-fluid (full width) | Low | Multiple on resize | Moderate | [!] OK |
| container (fixed max width) | Low | Single or fewer | Low | [OK] Good |