How to Make YouTube Video Responsive in Webpage using CSS | Responsive Video Embed
One of the tasks that designers and programmers have to undergo was to make youtube videos embedded in a website responsive. Until recently, it was done by applying a series of fixes, which you will find in many tutorials on the web, which required adding a div layer to each embedded video.
Code:
iframe[src*="youtube.com"] { width:100%; aspect-ratio:16/9; }
Credits:
How to make a YouTube video responsive with one line of code
https://www.norzex.com/articulos/vide...
Social networks:
http://frankgp.com/contact
Смотрите видео How To Make YouTube Video Responsive in Web Using CSS | Responsive Video Embed онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Frank GP Web Developer 05 Апрель 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 219 раз и оно понравилось 9 людям.