title: Apply certain CSS "inside div"
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>ul.b {
    list-style-type: square;
    margin-left: 60px
  }
  
  div.form {
    text-align: justify;
    text-justify: inter-word;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="form"&gt;
    &lt;ul class="b"&gt;
      &lt;li&gt;
        DUMMY TEXT
      &lt;/li&gt;
     &lt;li&gt;
          DUMMY TEXT
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The code above works fine , but is there any method that can "pre-set" the CSS in the div, which means that does you do not need to declare <code>"class=b"</code> in <code>&lt;ul&gt;</code> to be able to get the style?</p>