Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

make element fit in page

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