Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<style>
html,
body {
margin: 0;
padding: 0;
}
body {
height: 100vh;
width: 100vw;
}
* {
box-sizing: border-box;
}
div {
height: 100%;
width: 100%;
padding: 10px;
background-color: #3ac96f;
}
</style>
</head>
<body>
<div class=div1></div>
</body>
</html>