Fullscreen background video with text is the best user-interface for any kind of portfolio website or business website. Here we made this beautiful background video with a text interface with the help of HTML and CSS.
In this element we use one video in the background and also we used a heading tag to show in the center. Here we use flex display properties and also we used position properties to make this element properly perfect and attractive interfere.
Make it yours now by using it, downloading it, and please share it. we will design more elements for you.
Top comments (2)
Cool!
I would suggest a fallback for object-fit though.
<video>
withobject-fit: cover;
is not supported in older edge versions and some browsers do not supportobject-fit: cover;
at all: caniuse.com/?search=object-fitA simple
@supports
would solves the problem here:thank you @thomasverleye we will implement this and I think you used one class which is ".my-fancy-background-video " I think we should use flex properties to make text or content center. right :)