它看起来就是按钮设置的方式。如果您访问this网站,则会看到这是该按钮的托管位置。你会注意到它看起来像三个不同的按钮。这意味着它是一个精灵,并通过鼠标的某些活动,它显示了图像的不同部分。只需通过采取快看,我发现这个
media="all"
a, button, input:focus, input[type="button"], input[type="reset"], input[type="submit"], textarea {
-webkit-transition: all 0.1s ease-in-out;
-moz-transition: all 0.1s ease-in-out;
-ms-transition: all 0.1s ease-in-out;
-o-transition: all 0.1s ease-in-out;
transition: all 0.1s ease-in-out;
}
你会在代码注意到有转变,这是什么使效果发生的一部分。这也是仅显示特定图像的代码的一部分,请注意背景位置。
a.PIN_1392869101137_pin_it_button_20 {
background-repeat: none!important;
background-size: 40px 60px!important;
height: 20px!important;
margin: 0!important;
padding: 0!important;
vertical-align: baseline!important;
text-decoration: none!important;
width: 40px!important;
background-position: 0 -20px;
}
现在在:悬停通知的背景位置是。
a.PIN_1392869101137_pin_it_button_20:hover {
background-position: 0 0px;
}
该变化是什么导致的影响。
泰勒,感谢您的帮助!你的解释正是我需要的。这个问题出现在从主题其余部分的按钮样式继承的转换中。 – user2651351