-
Notifications
You must be signed in to change notification settings - Fork 58
Add responsive option #126
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Video services like YouTube should allow for a responsive option to be passed in, which would wrap the iframe in a div using the padding hack.
/* facebook and youtube videos */
.video {
overflow: hidden;
position: relative;
width: 100%;
margin: 2rem auto;
::after {
padding-top: 56.25%;
display: block;
content: "";
}
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request