My usual practice is to organize the rules in my CSS file to align with their corresponding elements in the HTML code. However, when it comes to global rules such as styling for input
,textarea
,p
,tr
,th
, and so on, I wonder if there is a specific convention regarding the order in which they should appear?
Of course, there are times when the sequence of rules is crucial for them to function properly.