html 鼠标悬停div变长,html – 更改:之前:将鼠标悬停在主DIV上?

我有一个看起来像讲话泡泡的div.主要的div是泡沫和:之前是箭头.我想要做的是,当你翻转时:将DIV悬停在CSS中,它也会改变:之前.

这是我的代码:

.sidebar_image_box_newsfeed_user_info_comments { color: #ffffff; background-color: #2f2f2e; text-decoration: none; -webkit-transition-property: background-color, color, text-decoration; -webkit-transition-duration: 0.5s, 0.5s, 0.5s; }

.sidebar_image_box_newsfeed_user_info_comments:hover { background-color: #3b3b3b; color: #f3f3f3; text-decoration: underline; }

.sidebar_image_box_newsfeed_user_info_comments:before { content:""; position:absolute; bottom:-6px; right:0; border-width:0 0 6px 6px; border-style:solid; border-color:transparent #2f2f2e; text-decoration: none; -webkit-transition-property: background-color, color, text-decoration; -webkit-transition-duration: 0.5s, 0.5s, 0.5s; }

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值