Edit 4 days later: Deleted the contents of this toot, but keeping it for replies.
The original example code was inaccessible and has now been removed.
Edit 4 days later: Deleted the contents of this toot, but keeping it for replies.
The original example code was inaccessible and has now been removed.
@h5e Huge CSS files are a maze!
The quickest way to find something in such files, when I don't know the exact selector, is to use the browser inspector. The inspector usually points at a filename and line for a specific selector.
I used partials to split up CSS back in my SCSS days, but I quit SCSS.
Luckily, we now have CSS layers, which you can import separately to split your styles across many files.
(Which, of course, only works if you have a logical system for splitting, or you will still lose track of all your stuff.)