+ 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

25th Jun 2018, 5:03 AM
Sergey Nikolaev (mccrush)
Sergey Nikolaev (mccrush) - avatar
1 ответ
+ 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! :)
25th Jun 2018, 9:45 AM
Janning⭐
Janning⭐ - avatar