+ 1
What is the difference between selectors?
What is the difference between selectors: form#form1 > input[type="text"] and form#form1 input[type="text"], if the result is the same https://code.sololearn.com/WeVemLp8i3Pn/?ref=app
1 Answer
+ 1
There's an interactive demo you can play with to see the difference here:
https://css-tricks.com/almanac/selectors/c/child/
I hope this helps! :)