I am using Vue (not that it matters as this is a CSS issue I'm sure). I have 3 flip boxes, taken mostly from the w3schools instructions at https://www.w3schools
I'm using the <picture></picture> tag to responsively display an image after assessing the size of the container it's in. Some example code: <p