Is ::selection pseudo working with Foundry?

Guys, is ::selection pseudo working with Foundry?

Not sure I follow your question. You’ll need to elaborate a bit with more details.

I wanna change highlighting text using this pseudo in global CSS section in RapidWeaver. If I add these CSS it will works?

::selection {
background: #ffb7b7;
}
::-moz-selection {
background: #ffb7b7;
}

Yes, that will work fine. Did you give it a try?

1 Like

This is final CSS. I also add color selector changing text color while making selection;

::selection {
background: #ff4437;
color: #ffffff;
}

::-moz-selection {
background: #ff4437;
color: #ffffff;
}

Are you asking if that will work? I’m not understanding.

No I stopped asking and just like you said I give it a try and everything works now. I just add the CSS I used maybe someone need it.

Case Closed.

Ah, I see. Cool. Glad you got it sorted.