You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the highlight color remains static, with no capability to animate color transitions during text selection. The code is (in userContent.css):
/* Text Highlight color on webpages */@-moz-document regexp("http(s)?:.*") {
::selection {
background-color: transparent !important;
color:#c38f8f!important;
}
}
Which looks like this:
Problem !!
Achieving this effect appears to require JavaScript. Attempts using only CSS haven't worked. Have to explore userChrome.js/userContent.js.
The text was updated successfully, but these errors were encountered:
Description
Support for RGB animations within the
::selection
pseudo-element to allow smooth transitions in text highlight colors. Something like this (as seen on wikiwand pages when highlighting text):RGB_TEXT_HIGHLIGHT.mp4
Currently, the highlight color remains static, with no capability to animate color transitions during text selection. The code is (in
userContent.css
):Which looks like this:
Problem !!
Achieving this effect appears to require JavaScript. Attempts using only CSS haven't worked. Have to explore
userChrome.js
/userContent.js
.The text was updated successfully, but these errors were encountered: