I want to make div borders with this kind of angular area. Exactly as it says in the image, I have marked with red oval.
This is what I have tried so far:
HTML:
<div class="box">
<header><b>List header</b></header>
<ul>
<li>List 1</li>
<li>List 2</li>
<li>List 3</li>
</ul>
</div>
CSS:
.box{
border:2px solid gray;
background: #DC143C;
padding:10px;
}
.box ul{
list-style-type:square;
}
See demo