After some digging, it has to do with the way Firefox handles padding as percentage values.
I wanted to my div to scale proportionally (mimicking the behavior of an img element), and I found that most browsers will calculate padding percentage values in relation to thewidth value. But apparently, Firefox doesn’t like that kind of hack.
I ended up compromising with an ugly fix, but it works for what I need. Here’s a link to my Github showing the CSS file differences.
If somebody has any better recommendations, that’d be awesome! Totally understand if people don’t want to waste their time with this though haha.
Ah gotcha… yeah work-arounds, as you know, are sign of a really scrambler. We can’t always hit every fairway. Sometimes you need to simply get to the green to putt. Glad you found a fix. Take care.