Exemple simple

In this example below you will see how to do a Exemple simple with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by MathKimRobin, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright MathKimRobin ©
  • HTML
  • CSS
  • JavaScript
    <!-- Learn about this code on MDN: https://developer.mozilla.org/fr/docs/Web/CSS/S%C3%A9lecteur_de_voisin_direct -->

<ul>
  <li>Un</li>
  <li class="ng-invalid">Deux</li>
  <li>Trois</li>
</ul>

/*Downloaded from https://www.codeseek.co/MathKimRobin/exemple-simple-WXLNEp */
    li:has(+ .ng-invalid) {
  font-size:40px;
}



/*Downloaded from https://www.codeseek.co/MathKimRobin/exemple-simple-WXLNEp */
    

Comments