Making background video responsive #136
KevinSWFL
started this conversation in
General Discussion
Replies: 2 comments 4 replies
-
|
Hey Kevin, |
Beta Was this translation helpful? Give feedback.
3 replies
-
You may wish to see if the following CSS works for you: @meda(max-width: 1920px) {
.oxy-video-background .oxy-video-container video {
transform: translate(-50%, -50%) scale(0.80);
}
}
@media(max-width: 1640px) {
.oxy-video-background .oxy-video-container video {
transform: translate(-50%, -50%) scale(0.45);
}
}
@media(max-width: 1280px) {
.oxy-video-background .oxy-video-container video {
transform: translate(-50%, -50%) scale(0.25);
}
}I hope this helps! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
New user here. I've added a video to section background. In the "all devices" screen everything looks fine, as I switch to smaller widths, the video doesn't resize. I looked all over for an answer couldn't find anything. Can this be accomplished within Oxygen? or do i need another plugin?
If it can be done within Oxygen, I would appreciate some guidance.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions