Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<style>
.grid {
display: grid;
padding: 13px;
padding-top: 74px;
padding-bottom: 42px;
border: 23px solid black;
border-bottom-width: 45px;
width: 100px;
height: 500px;
background-color: blue;
background-clip: content-box;
align-items: center;
}
.item {
width: 50px;
height: 100px;
background-color: green;
}
</style>
</head>
<body>
<div class="grid">
<div class="item"></div>
</div>
</body>
</html>