答案 0 :(得分:-1)
您可以使用2D转换(https://www.w3schools.com/css/css3_2dtransforms.asp)。
.line1 {
width: 112px;
height: 47px;
border-bottom: 1px solid red;
-webkit-transform:
translateY(-20px)
translateX(5px)
rotate(27deg);
position: absolute; }
这里是JSFiddle
中的一个示例