body :first-child(不是body:first-child,中间有空格)伪类选择器到底选中了什么元素?
:first-child 选中了什么如题,在学习:first-child伪类的时候,我使用如下语法,但是产生的结果在预料之外。codepen链接html {代码...} css {代码...} 按照:first-child语法,body :first-child选中的应该是body的第一个子元素,也就是 {代码...} 结果选中了这个元素 {代码...} 网上搜索无果,所以来这里提问了,body :f...
2 回答843 阅读✓ 已解决
如果你用的angular1.x,那么:
比较简单易用
https://github.com/violet-day/angular-echarts
跟上面差不多
https://github.com/wangshijun/angular-echarts
....
https://github.com/liekkas/ng-echarts
本站也有讲封装的帖子百度 ECharts Angular 封装