I want to write a CSS selector that selects all li elements within a ul element in a document but I don't know how that would be done. Can you help?
相关问题
- Adding a timeout to a render function in ReactJS
-
Why does the box-shadow property not apply to a
- Add animation to jQuery function Interval
- jQuery hover to slide?
- Issue with star rating css
or
the first selects only direct children the second selects all
li
nested within anul
.This should work:
You can use