Resizing YouTube and HTML5 videos proportionally using CSS for responsive web design
This article demonstrates how video can be resized automatically to fit the width of its container using only CSS with appropriate aspect ratio. The current solution works for any video which is set in iframe, embed, object or video tags.
No comments:
Post a Comment