title: Is there a way to change an elements css based off of its inner text?
body: <p>I've searched all over the internet for this answer and I'm still clueless, maybe one of you will know. Basically I'm wondering if in a .css file could you theoredically change the css of an object based off of its text</p>
  <p>for example:</p>
  <pre class="lang-css prettyprint-override"><code>h1[innerText=&quot;some text thats in the h1&quot;] {
     /*styles oh what wonderful styles*/
  }
  </code></pre>