小编Egr*_*odo的帖子

如何通过将鼠标悬停在其他元素上来激活元素上的CSS动画?

我已经找到了一些不同的解决方案,但它们都依赖于其他元素中的一个元素,我不能在我的问题中有这个.

我做了一个类似我的问题的JSFiddle.当有人徘徊"徘徊我!" 我想要"感动我!" 走向"徘徊我!" 并且也变得可见.我已经设法让这个工作,只要"徘徊我!" 也随着"移动我!"向右移动 但我不希望这种情况发生,我想要"徘徊我!" 留在同一个地方.

回顾一下,"徘徊在我身边!" 我想要"感动我!" 变得可见并向右移动"向我徘徊!" 在同一条线上没有移动"悬停我!" 一点都不

非常感谢帮助!

div.txtarea {
  background-color: gray;
  width: 100%;
  height: 5em;
  position: fixed;
  text-align: center;
}
a.hoverme {
  text-decoration: none;
  color: blue;
  font-size: 3em;
  display: inline-block;
}
a.moveme {
  float: left;
  text-decoration: none;
  color: blue;
  font-size: 3em;
  display: inline-block;
  opacity: 1;  /*THIS IS USUALLY 0 BUT I MADE IT 1 SO WE COULD SEE IT*/
}
a.hoverme:hover > a.moveme {
  -webkit-animation: scrollingIn 1.5s linear;
}
@-webkit-keyframes scrollingIn …
Run Code Online (Sandbox Code Playgroud)

html css css-selectors css3 css-animations

3
推荐指数
1
解决办法
131
查看次数

我可以从命令行设置 vim 颜色方案吗?

我有一个热键设置为在我通过 SSH 连接到服务器时自动创建一些别名并安装脚本(为了我的工作)。有谁知道从命令行设置 vim colo 的方法,以便我可以在我的热键中使用它?谢谢!

vim ssh bash terminal colors

2
推荐指数
1
解决办法
1866
查看次数

标签 统计

bash ×1

colors ×1

css ×1

css-animations ×1

css-selectors ×1

css3 ×1

html ×1

ssh ×1

terminal ×1

vim ×1