|
|
|
|
|
by criswell
2819 days ago
|
|
This is how you can do all of that: class="hover:red" -> .hover\:red:hover { color: red }
class="before:red" -> .before\:red::before { color: red }
class="medium:red" -> @media (min-width: 500px) { .medium\:red { color: red }
The important thing though is it doesn't need to be used for everything. I think it makes a lot of sense for structural stuff. When you dig into like, children of a hovered element I can see it getting a little messy. |
|