I still do not know whether to use the word ‘generic’ or ‘general’ in this context. The context may be a little esoteric as it refers to ‘CSS’ (a styling-related computer coding language) and is difficult to explain, but I will try my best. It’s for a book.
Essentially, the general/generic word will be used in a heading — either ‘Generic-to-specific’ or ‘General-to-specific’. The content that follows underneath the heading will try to convey this message: “start by styling non-specific elements first and then style more specific elements”. So style the main parts first, then the specific parts later. Another example: if you were to style a sentence, start with the things that affect the entire sentence first (e.g. the font), and then style the more specific parts (e.g. underline one of the words). I hope this conveys the gist of what I'm trying to say.
When you are trying to describe something as non-specific, would this be referred to as general or generic? I've seen multiple topics describe general as the opposite of specific, and generic as the opposite of specific, like here for example: What's the difference between "general" and "generic"? — presumably it can't be both?
I hope I’ve explained this well enough as the context feels difficult to explain. After reading up on this I still do not know which word to use. Any insight would be very helpful.