gpt4 book ai didi

html - CSS3::selection 不覆盖整个页面

转载 作者:行者123 更新时间:2023-11-28 03:22:10 24 4
gpt4 key购买 nike

<分区>

我目前正在网上商店工作,我正在使用以下 CSS3 通过以下 CSS 更改所选内容的样式:

::selection {
background-color:#5f2f8f;
color:white;
}

它确实有效,但是当我按下 CTRL+A 时,您仍然会在某些空格(蓝色部分)上看到 default 选择。

为什么按CTRL+A后,部分空格还是默认选择样式?

Live demo

图像演示:

enter image description here

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com