& lt; ! DOCTYPE html>
<meta charset="utf-8" & gt;
<style type="text/CSS" & gt;
* {
margin: 0;
padding: 0;
overflow: hidden;
}
Body {
The font-family: Microsoft jas black
}
The box {
Width: 270 px;
Margin: 20 px auto;
}
The top {
Height: 26 px;
The line - height: 26 px;
}
The title {
display: inline-block;
The font - size: 22 px;
}
Ul. The tabs {
display: inline-block;
list-style: none;
Margin - left: 70 px;
}
Ul. The tabs li {
margin: 0;
padding: 0;
float: left;
Width: 50 px;
Height: 26 px;
The line - height: 26 px;
font-size: 16px;
cursor: pointer;
The text - align: center
}
Ul. Tabs li. Active {
display: block;
Width: 50 px;
Height: 26 px;
The line - height: 26 px;
Background - color: # 66 CCFF;
color: #FFFFFF;
cursor: pointer;
}
. The main {
clear: both;
margin-top: 10px;
}
. The main div {
Width: 270 px;
Height: 43 px;
The line - height: 43 px;
Border - bottom - width: 1 px;
Border - bottom - style: dashed;
Border - bottom - color: # 333333;
background-color: #FFFFFF;
font-size: 14px;
}
. The main div span {
margin-left: 10px;
}
. The main div span: the last child {
-float: right;
margin-right: 10px;
}
</style>
<script SRC="https://bbs.csdn.net/topics/js/vue.js" & gt; </script>
<body>