Open SoYoung210 opened 5 years ago
<g> 는 last-child 로 선택이 불가능하다.
<g>
last-child
왜지 ?
billboard.js를 사용중이었다. g tag에 다행히도 class가 있어서 이를 활용했다.
.bb-axis-y .tick:nth-of-type(2n-1) { tspan { fill: transparent; } }
https://codepen.io/gifteconomist/pen/dNLePJ
Desc
<g>
는last-child
로 선택이 불가능하다.As-is
To-be
How To
billboard.js를 사용중이었다. g tag에 다행히도 class가 있어서 이를 활용했다.
Ref
https://codepen.io/gifteconomist/pen/dNLePJ