sbj
Well-known member
What is a selection?
![1614705551260.png 1614705551260.png](https://xenforo.com/community/data/attachments/247/247113-a8452c373ecc395af4c579f23f7e3735.jpg?hash=qEUsNz7MOV)
So I want to change the color for selections.
I did this:
If a text has bbcode, the selection css is not applied.
Maybe there is a better way to "catch" all cases.
Or at least does anyone know how to target texts with bbcodes?
![1614705551260.png 1614705551260.png](https://xenforo.com/community/data/attachments/247/247113-a8452c373ecc395af4c579f23f7e3735.jpg?hash=qEUsNz7MOV)
So I want to change the color for selections.
I did this:
CSS:
::-moz-selection {
color: #fff;
background: black;
}
::selection {
color: #fff;
background: black;
}
.fr-view p::-moz-selection {
color: #fff;
background: black;
}
.fr-view p::selection {
color: #fff;
background: black;
}
If a text has bbcode, the selection css is not applied.
Maybe there is a better way to "catch" all cases.
Or at least does anyone know how to target texts with bbcodes?