Looks like you forgot the .rwd-video wrapper div that goes outside of the iframe. Additionally, I think you’ll need another wrapper div to restrict the width http://codepen.io/anon/pen/rmxGZx
It isn’t possible to restrict the height in the same way owing to the % padding-bottom method that is giving the video fluid/responsive height, without actually defining height.
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘CSS’ is closed to new topics and replies.