社交按钮向上移动(jquery?)
如何创建这样的脚本?社交按钮向上移动(jquery?),jquery,move,Jquery,Move,如何创建这样的脚本? 您将鼠标悬停在社交按钮上,然后它们会向上移动一点。您可以使用jQuery尝试以下操作:我在您的链接中没有看到任何社交按钮(可能我只是瞎了;),但如果您想在鼠标悬停后向上移动某个按钮,可以使用纯CSS .arrow { background: red; width: 50px; height: 50px; display: block; text-align: center; } .arrow i { color: #ffffff; margin:
您将鼠标悬停在社交按钮上,然后它们会向上移动一点。您可以使用jQuery尝试以下操作:我在您的链接中没有看到任何社交按钮(可能我只是瞎了;),但如果您想在鼠标悬停后向上移动某个按钮,可以使用纯CSS
.arrow
{
background: red;
width: 50px;
height: 50px;
display: block;
text-align: center;
}
.arrow i
{
color: #ffffff;
margin: 0;
position: relative;
top: 13px;
font-size: 19px;
}
.arrow:hover
{
background-color: blue;
}
.arrow:hover i
{
top: 5px;
}
这里有一个例子:从您的链接中,我所能看到的是Apache功能正常。信息量确实很大。