title: Cannot assign color to content attribute in before pseudo selector in Safari of iPad
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>.check {
    color: green;
    font-size: 32px;
    
  }
  
  .check:before {
    content: "\2714";
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>    &lt;span class="check"&gt;&lt;/span&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <h2>Opening this on iPad's Safari :</h2>
  
  <h3> expected :</h3>
  
  <p><a href="https://i.stack.imgur.com/DtmKH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DtmKH.png" alt="enter image description here"></a></p>
  
  <h3> actual :</h3>
  
  <p><a href="https://i.stack.imgur.com/azX3a.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/azX3a.png" alt="enter image description here"></a></p>
  
  <p>As you see, the content of <code>:before</code> (✔️) has the green color. </p>
  
  <p>If we run the same code on <strong>iPad Safari</strong> browser , the (✔️) is still black and does not take the color of <code>span</code>. </p>
  
  <p>I tried adding the color again inside <code>:before</code> , however , it does not work: </p>
  
  <pre><code>.check:before {
    content: "\2714";
    color: green;
  }
  </code></pre>