Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/71.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
社交按钮向上移动(jquery?)_Jquery_Move - Fatal编程技术网

社交按钮向上移动(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功能正常。信息量确实很大。