DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+8 =
Submit