效果
代码
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<style>
#holder {
border-left: 2px solid rgba(0, 187, 150, 100);
height: 200px;
width: 200px;
position: relative;
background-color: antiquewhite;
margin: 10px;
}
#mask {
position: absolute;
bottom: 0px;
left: -2px;
height: 50%;
width: 2px;
background-color: #fff;
}
#mask2{
position: absolute;
top: 50%;
left: -6px;
height: 10px;
border-radius: 10px;
width: 10px;
background-color: rgba(0, 187, 150, 100);
}
</style>
<body>
<div id="holder">
<div id="mask"></div>
<div id="mask2"></div>
</div>
</body>
</html>