Back
Featured image of post vue.js移动设备开发技巧

vue.js移动设备开发技巧

样式

三栏布局

.tab{
    display: flex;
    width: 100%;
    height: 40px;
    line-height: 40px;
}
.tab .tab-item{
	flex: 1;
    text-align: center;
}

对于<a>可以设置display: block从而实现点击某一块即可进行跳转

comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy