[英]How to find CSS deceleration for :hover state using Chrome's inspector
I am creating the following gallery: 我正在创建以下画廊:
I believe that there prettyPhoto.css is applying a border-color on hover but I can't seem to locate it using the Dom Inspector. 我相信有prettyPhoto.css在悬停时应用了边框颜色,但是我似乎无法使用Dom Inspector定位它。
Can anyone help me locate the css to edit the border color on hover? 谁能帮助我找到css来编辑悬停时的边框颜色?
That would be at line 9 of the bootstrap.min.css : 那将在bootstrap.min.css的第9行:
a.thumbnail:hover, a.thumbnail:focus{
border-color: #08c;
}
if you are using Chrome's inspector( (Ctrl+Shift+I)
while in a Google Chrome browser windows), you may click on Toggle Element State
, while you have pointed the correct DOM element: 如果您使用的是Chrome的检查器(在Google Chrome浏览器窗口中为
(Ctrl+Shift+I)
,则可以在指向正确的DOM元素的情况下单击Toggle Element State
:
and, there you may find checkboxes, to activate the : 并且,您可能会在其中找到复选框来激活:
states for the element. 元素的状态。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.