Source code

Revision control

Copy as Markdown

Other Tools

<!doctype html>
<meta charset="utf-8">
<style>
#box {
width: 200px;
height: 200px;
}
#top {
border-left: 50px solid black;
border-right: 150px solid red;
height: 50px;
}
#bottom {
border-left: 50px solid blue;
border-right: 150px solid green;
height: 150px;
}
</style>
<div id="box">
<div id="top"></div>
<div id="bottom"></div>
</div>