title: Using twig to set HTML inline style
body: <p>I am new to using twig HTML and getting there slowly. I am trying to set the style in a widget as follows:</p>
  
  <p><code>div class="progress xs"&gt;
    &lt;div class="progress-bar progress-bar-blue" style="width: {{percent}}%;"&gt;&lt;/div&gt;
  &lt;/div&gt;</code></p>
  
  <p>However the % character gives the error: unexpected character sequence, expected a selector for the style rule, and the progress bar does not show the correct percent. Can someone explain what I am doing wrong here.</p>
  
  <p>thanks</p>
  
  <p>Derek</p>