Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

make element fit in vh and vw

.autofit {
	width:100vh;
    height:100vh;
    max-width: 100vw;
    max-height: 100vw;
}
 
PREVIOUS NEXT
Tagged: #element #fit #vh #vw
ADD COMMENT
Topic
Name
2+8 =