微信小程序选择view,改变样式,我想在多加一个img,
目前做出的效果:
style="{{index == id?'background:url(/lib/img/notarize.svg) right no-repeat ;border:1rpx solid #C88557;':''}}"
想要做成的效果:
这个勾的位置可以怎么设置?
微信小程序选择view,改变样式,我想在多加一个img,
目前做出的效果:
style="{{index == id?'background:url(/lib/img/notarize.svg) right no-repeat ;border:1rpx solid #C88557;':''}}"
想要做成的效果:
background-position: right bottom;
CSS background-position 属性 | 菜鸟教程
CSS background-position 属性 实例 如何定位background-image: body { background-image:url('smiley.gif'); background-repeat:no-repeat; background-attachment:fixed; background-position:center; } 尝试一下..
https://www.runoob.com/cssref/pr-background-position.html