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