|
[多端开发]
view标签做背景图时padding-right加到了padding-left
[复制链接]
代码如下
html:
<view class="info-box-info-one-goto"></view>
css:
.info-box-info-one-goto{
width: 14px;height: 14px;
background-image: url('../../images/main3/main3_goto.png');
background-repeat: no-repeat;background-position: right center;
background-color: red;background-size:14px;padding-right:30px;}
|
|