input[type="radio"][class="selectorPrev"]:hover+ label:before {
content:'Previous image';
z-index:999;
position:relative;
}
Is it possible to apply margin-left:10px only on the content propertie and leave all the res the same? How to do this?
Yes, but you need to specify the pseudo element to be a block or inline-block first, as it is generated as an inline element and, therefor, cannot have a margin.
input[type="radio"][class="selectorPrev"]:hover + label:before {
content:'Previous image';
display:inline-block;
position:relative;
z-index:999;
margin-left:10px;
}
.selectorPrevfor class?