Q:

How to make rails load multiple css files

I used to put everything into application.css before and it worked. But now I wanted to use some nice dropdown menus in my app and the css for it is huuge. So I made a new css file just for the dropdown menus in the same folder where application.css is: stylesheets
It seems now that rails does not load the newly created css file. How can I make it load every file in the folder?

A:

put those two lines into application.css:
*= require_self
*= require_tree .

*= require tree . will require all css files in app/assets/stylesheets , lib/assets/stylesheets and vendor/assets/stylesheets

