TestLaptopImageYoutube

div { width: 100%; height: 100%; max-width: 1034px; max-height: 543px; margin: 0 auto; } div div { position: relative; padding-top: 25px; padding-bottom: 67.5%; height: 0; } div iframe { box-sizing: border-box; background: url(http://i.stack.imgur.com/zZNgk.png) center center no-repeat; background-size: contain; padding: 11.9% 15.5% 14.8%; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }