Hi! I’m not sure if this is possible…
-
List item
-
Let’s say I wanted to have a button. The button will always have certain properties; margin, padding, text size.
-
I then want some different colors of the button; red, blue, green.
-
I then want another modifier that can be combined with any of the first combo classes—so let’s pretend the second modifier is hover settings. Maybe I want a transparent background with same color border and text as one option, and a black background with white text as another.
Is this possible without creating all of the possibilities manually?
button + c1 + h1
button + c2 + h1
button + c3 + h1
button + c1 + h2
button + c2 + h2
button + c3 + h2
… so on and so forth…
Is this something a global class can accomplish? When attempting to create that it doesn’t work. Maybe I’m doing it wrong?
Here is my site Read-Only: LINK
(how to share your site Read-Only link)