Change attributes defined in defs on use element

前端 未结 3 575
旧时难觅i
旧时难觅i 2021-02-02 09:56

How can I achieve changing the style of an \"use element\", defined in defs, through scripting? I was trying to move in the w3c working draft interfaces, but I lost in that laby

3条回答
  •  长发绾君心
    2021-02-02 10:48

    To add to @Phrogz answer, It looks like even if i try to overwrite the styles defined inside the symbol tag its not getting overwritten in the use tag. A fiddle for that http://jsfiddle.net/rajkamal/xrdgf/

提交回复
热议问题