css size 50% code example
Example 1: width css property
/* <length> values */
width: 300px;
width: 25em;
/* <percentage> value */
width: 75%;
/* Keyword values */
width: max-content;
width: min-content;
width: fit-content(20em);
width: auto;
/* Global values */
width: inherit;
width: initial;
width: unset;
Example 2: width css
/*Based on viewport*/
width: 100vh;
width: 100vw;