title: ASP.Net MVC: How to use razor variable in CSS file
body: <p>as per my scenario i need to store this path <strong>/img/product.png</strong> of image in razor variable and later i want to use that razor variable in CSS file. below css code is in css file</p>
  
  <pre><code>.test{
      background: url('/img/product.png') no-repeat scroll 0 0 transparent;
  }
  </code></pre>
  
  <p>so i use code like this way below but no luck still</p>
  
  <pre><code>.test{
      background: url('@Model.LogoUrl') no-repeat scroll 0 0 transparent;
  }
  </code></pre>
  
  <p>i see this post <strong><a href="http://www.codeproject.com/Articles/171695/Dynamic-CSS-using-Razor-Engine" rel="nofollow">http://www.codeproject.com/Articles/171695/Dynamic-CSS-using-Razor-Engine</a></strong>  but i do not want to solve my issue as per the post. so let me know how to sort this issue. thanks</p>