📜  css hover 更改多个元素 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:48.133000             🧑  作者: Mango

代码示例1
/*** HTML code ***

My title

This is my content

*/ .card:hover { background: #abeafe; } .card:hover h2 { color: #000; } .card:hover p { color: #333; }