Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#parent {
height: 40px; width: 200px;
padding: 20px 0;
background-color: green;
}
#child {
height: 40px; width: 200px;
background-color: lightgreen;
}
</style>
</head>
<body>
<div id="parent">
<div id="child"></div>
</div>
</body>
</html>