Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

add background video to div css

video {
  /** Simulationg background-size: cover */
  object-fit: cover;
  height: 100%;
  width: 100%;

  position: absolute;
  top: 0;
  left: 0;
}
Source by alvarotrigo.com #
 
PREVIOUS NEXT
Tagged: #add #background #video #div #css
ADD COMMENT
Topic
Name
3+5 =