title: SCSS : change element style if child input is checked or not
body: <p>I have never used SCSS before and I would liketo know if it would allow me to style an element depending if the checkbox located inside is checked or not.</p>
  
  <p>For instance, I have :</p>
  
  <pre><code>&lt;label&gt;
    &lt;input type="checkbox"/&gt;
  &lt;/label&gt;
  </code></pre>
  
  <p>and I would liketo change the content of <code>label::before</code> depending if the box is checked or not.  </p>
  
  <p>Does SCSS allows things like this ? If yes,how can I do it ?  </p>
  
  <p>The reason that led me to consider SCSS to execute this is that (if I'm not mistaking) it is indeed possible with SASS.<br>
  However since I am not familiar with SASS I'd ratherdo it with SCSS, as converting my file is apparently very easy.</p>