I'm getting an error as "Unexpected token '.0' ". Suggest an alternate solution to solve this. As I'm getting the class as "parent 0-item".
.parent 0-item
{
pointer-events: none !important;
cursor: default;
}
I'm getting an error as "Unexpected token '.0' ". Suggest an alternate solution to solve this. As I'm getting the class as "parent 0-item".
.parent 0-item
{
pointer-events: none !important;
cursor: default;
}
As per my understanding, you just receive the class name and have no control over the rendered HTML. If that's the case, then you can use an attribute selector.
[class='parent 0-item'] {
pointer-events: none !important;
cursor: default;
color: red;
}
<div class="parent 0-item">
Hello World!
</div>