title: How can I apply style to a div based on condition?
body: <p>I have a div, i want to show/hide it when condition.</p>
  
  <p>I use this.</p>
  
  <pre><code>&lt;div th:style="${@Model.SelectionList.Any()} ? 'display:block' : 'display:none'"&gt;
  </code></pre>
  
  <p>But don't hide div. </p>