站内搜索:
首页 >> 前端 >> 内容
微信小程序开发之设置Button边框border

时间:2018/2/12 14:09:14

微信开发工具 v1.02.1802080

微信小程序自定义 Button 边框 border主要代码:

.myButton{
  border: 1px solid #70bcf6; 
  border-radius: 2px;  
  background-color: white;
}

.myButton::after{
  border: none; 
}

效果如下:

微信小程序开发之设置Button边框border

  • 上一篇:如何使vue2路由后退不刷新?(代码设置)
  • 下一篇:什么是BFC?形成 BFC 的条件是什么?BFC常见作用详解
  • 返回顶部