Created
November 1, 2022 12:04
-
-
Save Javiafellay/5813a0f6ea7e665ed8a89bcad00a216f to your computer and use it in GitHub Desktop.
Realizar pseudoselectores en CSS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :root { | |
| --blanco: #ffffff; | |
| --oscuro: #212121; | |
| } | |
| //Para utilizar el codigo de arriba | |
| //por ejemplo queremos seleccionar la clase de titulo. | |
| .titulo { | |
| color: var(--oscuro); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment