左縦ライン、角丸
h2 {
width: 300px;
padding: 0 100px 10px 10px;
border-bottom: none;
}
h2:after {
position: relative;
top: -5px;
left: -10px;
content: "";
float: left;
background: #58b;
width: 10px;
height: calc(1.5em + 10px);
border-radius: 10px;
}
左縦ライン、下ロングライン
h2 {
width: 300px;
padding: 0 100px 5px 10px;
border-top: none;
border-left: 7px solid;
border-bottom: 2px solid;
border-color: #58b;
}
下ライン、斜め、長短交互
コメント