Ejemplo 1: cómo sobrescribir im css
/* this is not a standard but if you need to then do this */
.example {
color: blue;
color: red !important;
/* the red color will show as it has the important thing afterwards*/
}
Ejemplo 2: estilos de sobrescritura de CSS
body {
background-color: black;
background-color: blue !important ;
/*
The second background color would show since it has
a !important afterwards, this is to overwrite css you have
already wrote. However, this is not recomended.
*/
}
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)