You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
441 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Box Sizing demo</title>
<style>
*{
margin:0;
padding: 0;
box-sizing: border-box;
}
#box {
height: 150px;
width: 150px;
padding: 50px;
border: 1px solid black;
background-color: orange;
}
</style>
</head>
<body>
<div id="box">hello</div>
</body>
</html>