title: Styles for all Globally pseudo element like :before?
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>div{
  width:100px;
  height:100px;
  border:1px solid #000;
  display:inline-block;
  position:relative;
  
  }
  
  div:before{
  content:'';
  display:block;
  background:red;
  width:100%;
  height:100%;
  position:absolute;
  left:90%; top:0;
  }
  
  *:before{
  background:blue;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;&lt;div&gt;
  &lt;div&gt;&lt;div&gt;
  &lt;div&gt;&lt;div&gt;
  &lt;div&gt;&lt;div&gt;
  &lt;div&gt;&lt;div&gt;
  &lt;div&gt;&lt;div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want to write a styles for all :before and after elements during an accessibility  mode so i am not getting it.</p>
  
  <p>For example: if we wanna write style for all elements we use- *{property:value;}</p>
  
  <p>like that i want to write a style for all the :before and after elements a style .</p>
  
  <pre><code>*:before{
   background:blue;
   }
  </code></pre>
  
  <p>this code doesn't work.</p>
  
  <p>Please help out.</p>