使用transform画一条0.5px的线
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<style type="text/css">
.line{
margin-top: 10vh;
width: 100px;
border-bottom: 1px solid #FF0000;
transform: scale(1,0.5);
}
</style>
<body>
<div class="line">
</div>
</body>
</html>