作者:鱼影沫1457 | 来源:互联网 | 2022-12-27 07:50
I'm not sure if it's a bug, but is there any way to target the "class" or "id" identifier to style heading tags (h1 to h6) using ActionScript 3.0 CSS? It works fine with all the other tags.
我不确定它是否是一个bug,但有没有办法使用ActionScript 3.0 CSS将“class”或“id”标识符定位到样式标题标签(h1到h6)?它适用于所有其他标签。
eg.:
text
// I can use .style1 or p in the CSS
text
//我可以在CSS中使用.style1或p
text
// I can't use .style2 in the CSS, only h1
text
//我不能在CSS中使用.style2,只有h1
2 个解决方案