html height screen size code example Example: css height of screen /* For 100% screen height using viewport-percentage */ height: 100vh;