Scoped CSS
Installation
- Add to your Gemfile:
gem 'scoped_css' - Run
bundle install - Include the helper in your views:
ruby module ApplicationHelper include ScopedCss::Helper # other helpers... end - Use the helper in templates: ```erb <% style_string, styles = scoped_css do %>