Streaming live at 10am (PST)

Scaling background video

Hi all,

I’m new to Webflow but slowly getting the hang of it :slight_smile: I’m messing around with a small background-video in the body that is scaling wrongly on phones. It takes up to much space in the phone view. I can see that others have had the same problem, but found a relative simple solution to the problem - see the link: Background video responsive size

I have tried the solution, that is to but below code in the “Custom Code” tab in the “Head Code” field. Well it doesn’t make any difference

.w-background-video>video { max-width: -webkit-fill-available; }

What the heck I’m I doing wrong?.. :slight_smile:

Best regards

Here is my site Read-Only:

You have to have opening <style> and closing </style> tags when adding CSS to any code area.

Thanks :slight_smile: My code is:

.w-background-video>video { max-width: -webkit-fill-available; }

it eate my styles tags … they are there :wink: