首页 > 代码库 > 字在线中

字在线中

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
*{margin: 0;padding: 0;}
fieldset{
border:none;
border-top:1px solid #c6c6c6;
width:500px;
margin:0 auto;
height: 45px;
line-height:45px;
}
fieldset legend{
text-align:center;
padding:0 10px;
color: #c1c1c1;
font-size:25px;
}

</style>
</head>
<body>
<fieldset>
<legend>产品详情</legend>
</fieldset>
</body>
</html>

字在线中