摘要:
index.wxml <scroll-view scroll-x style="width:100%;white-space:nowrap"> <view wx:for="{{30}}" style="display:inline-block; margin:10rpx;border:1rpx so 阅读全文
摘要:
1.单边阴影效果 定义元素的单边阴影效果和调协border的单边边框颜色是相似的,例如: 效果如图3-38所示。 这个案例中,使用box-shadow给元素设置了顶边、右边、底边和左边的单边阴影效果。主要通过box-shadow的水平和垂直阴影的偏移量 来实现,其中x-offset为正值时,生成右边 阅读全文