Never use the start selector (*). If it is used in CSS selector, then the browser will assess every element.
CSS selectors are evaluated from right to left. Make sure to give more filter criteria for the rightmost selector in the selector chain.
Avoid Descendant selectors as much as possible.
Use ID and Class selectors since it matches quickly than other selectors.
Avoid lengthy selectors.
Useful CSS Selector Examples:
Selenium Tips: CSS Selectors
CSS nth-child Selector
I hope it helps.
Written by: Asiq Ahamed