title: Razor syntax in <style>
body: <p>what is the correct syntax for using Razor syntax inside a style tag of a view? I tried two different ways:</p>
  
  <pre><code>&lt;style scoped&gt;
      .test1
      {
          background-color: @Model.bgColor;
      }
      .test2
      {
          background-color: @(Model.bgColor);
      }
  &lt;/style&gt;
  </code></pre>
  
  <p>Both versions will break syntax highlighting and code indentation of Visual Studio 2012 (Version 11.0.60610.01 Update 3).</p>
  
  <p>Any idea? Thanks!</p>