Me preguntaba si no cambia los valores, ¿hover
, active
y focus
heredan automáticamente la configuración de la etiqueta estándar a
?¿Los valores de estado estacionario, activo y de enfoque heredan valores?
Por ejemplo:
.wrapper .left .main .row .holder .more a,
#content .wrapper .left .main .row .holder .more a:visited
{
width: 92px;
min-width: 92px;
max-width: 92px;
height: 23px;
min-height: 23px;
max-height: 23px;
display: block;
margin: 0px auto;
background: #fff url(../images/more-info-btn.png) top left no-repeat;
}
#content .wrapper .left .main .row .holder .more a:hover {
width: 92px;
min-width: 92px;
max-width: 92px;
height: 23px;
min-height: 23px;
max-height: 23px;
display: block;
margin: 0px auto;
background: #fff url(../images/more-info-btn.png) bottom left no-repeat;
}
¿Sería la continuación hacer lo mismo?
#content .wrapper .left .main .row .holder .more a,
#content .wrapper .left .main .row .holder .more a:visited
{
width: 92px;
min-width: 92px;
max-width: 92px;
height: 23px;
min-height: 23px;
max-height: 23px;
display: block;
margin: 0px auto;
background: #fff url(../images/more-info-btn.png) top left no-repeat;
}
#content .wrapper .left .main .row .holder .more a:hover {
background: #fff url(../images/more-info-btn.png) bottom left no-repeat;
}
No exactamente "heredan" los valores, ya que la herencia en CSS se refiere a tomar estilos de un elemento principal. Por el contrario, los valores son * en cascada *, o tomados de la regla general 'a' (confuso, lo sé). Aún así, tienes la idea correcta aquí. – BoltClock