aspect-ratio vs padding-top hack is one of the most common decision points we see. Here is the honest breakdown.

The short version#

Native aspect boxes vs the legacy trick.

Point by point#

AspectAnalysis
Supportaspect-ratio is baseline in all evergreen browsers
MarkupOne class vs wrapper + percentage math
Contentaspect boxes size real children; hacks need absolute fill
Verdictaspect-video / aspect-[4/3] — never pad-hack again

Bottom line#

Pick based on your constraint, not ideology — and remember the comparison pages link to hands-on recipes so you can verify the claim in your own project within minutes.

comparisons/index|All comparisons