How to organize CSS in a Rails project
CSS has a reputation for inevitably turning into spaghetti code. It doesn’t have to be that way! You can keep styles tidy in your next Rails app by applying similar rules to CSS as you would to Ruby code: avoid formal structure until you really need it, be clear and concise in your naming, and keep your eyes open for opportunities to refactor as you go. https://mattbrictson.com/blog/organizing-css-in-rails
Post a comment