css width html code example
Example 1: fixed size body html
html {
position: relative;
min-width: 1024px;
min-height: 768px;
height: 100%;
}
<!-- Remove height 100% if needed fixed height -->
Example 2: width css
/*Based on viewport*/
width: 100vh;
width: 100vw;