div.frames div.frame-container { border: 4px solid green; border-radius: 10px; padding: 5px; margin: 10px; } img.frame { max-width: 400px; max-height: 400px; display: inline-block; } img.qr { max-width: 200px; max-height: 200px; display: inline-block; } img.roi { max-width: 100px; max-height: 100px; display: inline-block; } h3.warning { color: #ff0000 }