Flexible section height?

Hi,

I’m trying to recreate a flexible section height like on the site seen here https://www.tonyrobbins.com/ (the section has a video background and flexes as the height changes.

I’ve tried all kinds of things but have not been fruitful so far.

Thoughts?

Best,

Nathan

https://preview.webflow.com/preview/a-living-theory?preview=a94ce00d956e347412f774b183f9f4e7v


Here is my public share link: LINK
(how to access public share link)

Hi @nathanphilsteele try using a VH unit for the background video element height (like 60vh to cover 60% of the viewport height). Be sure to set a min-height style as well for a minimum height of the field.

You may find find this helpful:

1 Like

Perfect!

Thank you @Waldo!

Best,

Nathan

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.