Is it possible to make two divs with the same css, something like:
.Navig1, .Navig11 a {
display: block;
height: 15px;
width: 70px;
background-color: {color: Navig Bg 1};
text-align: center;
font-size: 8px;
line-height: 15px;
color: #FFF;
}
Because I don’t want my style code to be too long, and I need these two to look the same, but be different when hovered, and I thought this would do, but this code doesn’t work.
Where am I making the mistake?
Yes it is possible: