“`
Vue 测试实例 - 菜鸟教程(runoob.com)
ul li{
text-decoration: none;
height: 30px;
list-style:none
}
ul li span{
float: left;
margin-left: 30px;
width:100px;
text-align: center;
}
span:first-child
{
background:yellow;
}
span:nth-child(2)
{
background:red;
}
span:nth-child(3)
{
background:green;
}
- {{items}} up down
“`