Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

vh and vw

/*vh viewport height and vw viewport width*/
/*example*/
div
{
  display: inline-block;
  height: 100vh; /*THis will set height equal to the height of windows*/
  width: 100vw/*This will set width equal to width of windows*/
}
 
PREVIOUS NEXT
Tagged: #vh #vw
ADD COMMENT
Topic
Name
6+4 =