how to get screen height in css code example Example: css height of screen /* For 100% screen height using viewport-percentage */ height: 100vh;