getting the display width of the screen css code example
Example 1: css height of screen
/* For 100% screen height using viewport-percentage */
height: 100vh;
Example 2: width in % of a screen css
1vw = 1% of viewport width
1vh = 1% of viewport height