Is there such thing as a background-video? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there such thing as a background-video?

How can I make a background video or GIF?

14th Jun 2018, 5:02 PM
Tence Sailor
Tence Sailor - avatar
3 Answers
+ 1
You can add GIF (better choice than video in terms of loading time) as a background using CSS https://code.sololearn.com/WrcJSnlmFU4j/?ref=app
14th Jun 2018, 5:26 PM
777
777 - avatar
+ 2
You can not do it directly, but there are several ways to achieve that. An important point is to evaluate the cons of having a video in the Background, btw. https://www.w3schools.com/howto/howto_css_fullscreen_video.asp https://css-tricks.com/should-i-use-a-video-as-a-background/
14th Jun 2018, 5:11 PM
Mickel
Mickel - avatar
+ 1
thanks guys
14th Jun 2018, 5:31 PM
Tence Sailor
Tence Sailor - avatar