文字的背景太小了 怎么搞大点 像微信那样 ,试过多一层div 用 margin没有用
css: html js:
收起
当前问题酬金
¥ 0 (可追加 ¥500)
支付方式
扫码支付
支付金额 15 元
提供问题酬金的用户不参与问题酬金结算和分配
支付即为同意 《付费问题酬金结算规则》
其实,使用行内元素就可以。理解一下,行内元素和块元素是什么意思吧。
代码:
<style> .p{ padding:6px; font-size: 16px; line-height: 16px; color:#4e4e4e; border-radius: 5px; background: rgb(158,234,106); box-shadow: 0px 0px 2px #9c9c9c; } </style> <div> <span class="p">内容</span> </div>
报告相同问题?