title: Variable in css file?
body: <p>I am using rails 4 </p>
  
  <p>This is a part of my css file: </p>
  
  <pre><code>.parallax-image-2 {
      background: url('/assets/tuscany.jpg');
      background-size: cover;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
      background-attachment: fixed;/* IE FIX */
  }
  </code></pre>
  
  <p>How can i use variable in the css file? Is that possibly? Like this</p>
  
  <pre><code>.parallax-image-2 {
      background: url('/assets/#{@region.name}');
      background-size: cover;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
      background-attachment: fixed;/* IE FIX */
  }
  </code></pre>
  
  <p>thanks...remco</p>