【发布时间】:2020-11-13 23:47:50
【问题描述】:
【问题讨论】:
-
这是用 box-shadow inset 完成的
【问题讨论】:
使用 CSS box-shadow 属性:
#[here is your element name]:hover {
box-shadow: inset 0 0 10px #0000ff;
}
【讨论】:
您可以使用box-shadow 和inset 关键字:
.element:hover {
box-shadow: inset 0 0 10px #000000;
}
【讨论】: