HTML 使用 CSS 改变文本选中颜色
CSS HTML About 221 words代码
color
:选中后的文字颜色。
background
:背景色。
::selection {
background:#4CAF50;
color:white;
}
::-moz-selection {
background:#4CAF50;
color:white;
}
::-webkit-selection {
background:#4CAF50;
color:white;
}
Views: 859 · Posted: 2023-09-14
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓

Loading...