Maintaining a DIV's aspect ratio in 2018 = more trouble than it's worth?
Returning to web building after a few years off, I thought displaying a div with a consistent aspect ratio across all viewport sizes would be a piece of cake. After all, we can animate almost anything now, which was just a dream when I left HTML behind.
However, Googling only the past year of results for up-to-date advice yields disappointing results that essentially amount to using equations like "padding-top: 54.309450094%" with accompanying warnings that maintaining the aspect ratio of a div is probably more trouble than it's worth.
Is it? Should I just drop this idea and go another direction with the layout?
