我在哪里可以得到有关如何在 jquery 中编写样式的信息。
例如它不是z-index的正常方式 它是 zIndex...等等..
字体粗细..
最佳答案
不需要。您可以使用 CSS 样式。
$("#ID").css({
'z-index': 100,
'height': '100px'
});
关于javascript - jquery 和样式属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1711109/