微信小程序 — css樣式學習(button設置寬度不起作用?)

hao_developer關注

2022.07.07 11:59:28字數 45閱讀 250

button設置寬度不起作用。記得加 !important

css中直接給button設置width: 660rpx 寬度不起作用,記得要在寬度數值后面加上 !important

image.png

image.png

0人點贊

日記本

最后修改:
如果覺得我的文章對你有用,請隨意贊賞