Anyway to set css outline only show left and right ? Because I can't use border, I tried but it will make more bad outlook .
.test{
  margin:10px;
  padding:10px;
  width:100px;
  height:10px;
  outline:10px solid #000;
  }
<div class="test"></div>