Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- d3.selectAll('ul li')
- .style('background', 'red');
- d3.selectAll('ul li:before')
- .style('background', 'red');
- var listItems = d3.selectAll('ul li');
- var beforeElements = listItems.selectAll('&:before'); // SASS-style selector obviously won't work here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement