有谁弄过background-color: rgb(0, 0, 0)
html吧
全部回复
仅看楼主
level 1
贴吧用户_0VZ5Z5e
楼主
怎样才能把a,b,c三个输入框中输入的值,通过点击按钮提交到“background-color: rgb(a, b, c)”里面去?
2018年04月12日 01点04分
1
level 5
OldMenPushCar_
获取id 或者其他标签属性,然后通过.style加上去
2018年04月12日 01点04分
2
level 5
OldMenPushCar_
不能在样式写好bg,在通过js提交,要整体添加进去。
2018年04月12日 01点04分
3
1