I have the following CSS:
.map{
position: absolute;
top: 0%;
bottom: 0%;
left: 50%;
}
.map.zoom {
top: -106px;
overflow: visible;
}
Now I want to add this to a LESS stylesheet but I'm not sure what the proper way to do this is, i.e. how to handle the fact that the second style is for elements that have both classes (map
and zoom
).
Obviously I could simply add them separately but I feel like there should be a way to nest the second inside the first or otherwise connect them since they share the map
class.