Using CSS to set style class

I've got the following CSS which I'd like to get working. I'm sure I've done something similar once, but I can't find the answer on google. Basically some style properties have child properties which can be changed, suchas Container.borderSkin. You can set borderThickness, borderStyle etc, all on the borderSkin style. .myBorderSkin { borderThickness: 5; borderColor: #FF0000; /*borderStyle: none;*/ } MyControl { borderSkin: .myBorderSkin; } Unfortunatly when I run the application, I get the error "TypeError: Error #1034: Type Coercion failed: cannot convert "myBorderSkin" to Class."

以上就是Using CSS to set style class的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » CSS3 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准