Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

video failing to scale with div css background

/* Using fill-available on the max-width property */

/* A box you would like to place the video in*/
.wrapper {
  width: 600px
  height: 300px;
}

.wrapper_video > video {
  width: 100%;
  max-width: -webkit-fill-available;
  max-width: fill-available;
}
Source by discourse.webflow.com #
 
PREVIOUS NEXT
Tagged: #video #failing #scale #div #css #background
ADD COMMENT
Topic
Name
7+2 =