You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/selectors.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,9 @@ In general:
43
43
44
44
### Priority
45
45
46
-
The best and most simple selector will always be to use an element ID: `#some-id-here`. If only we were so lucky to have this every time. When writing selectors, you should prioritize looking for these starting points to build your selector from.
46
+
The best and most simple selector will always be to use an element ID: `#some-id-here`. If only we were so lucky to have this every time.
47
+
48
+
When writing selectors, you should prioritize finding in this order:
47
49
48
50
1. ID, name, class, or anything else that is unique to the element
0 commit comments