What CSS property or layout method fixes A semi-transparent overlay should cover the viewport behind a modal. in a data table?
Problem: A semi-transparent overlay should cover the viewport behind a modal.
Context: This CSS troubleshooting question uses a data table example.
Correct approach: Use fixed positioning and full viewport insets.
Working CSS:
.overlay { position:fixed; inset:0; background:rgb(0 0 0 / .5); }
Looking for the latest
Sarkari Result 2026
updates?
Check the latest government exam
results, merit lists and result updates
on Sarkari Resultess.