CSS aspect-ratio Ends Padding Hacks Forever - 27.01.26 - ErcanOPAK .video { aspect-ratio: 16 / 9; } Why it mattersCleaner layouts, zero JS. Related posts:CSS: The End of Media Queries? Welcome to Container QueriesCSS: Create Neumorphism with Box ShadowsCSS: Use CSS Variables for Consistent Theming Views: 11