I have been attempting to create a selector similar to this, but so far without success:
.something::after::selection
Essentially, I am already utilizing ::after to add content, specifically an image. However, I would like to prevent the user from selecting this image and seeing an unsightly blue background.
Typically, I can achieve this using the following code:
.something::selection
{
background-color: transparent;
}
Unfortunately, it doesn't seem to work well in conjunction with ::after.
Has anyone else encountered this issue before or found a solution?