我已经找到了一些不同的解决方案,但它们都依赖于其他元素中的一个元素,我不能在我的问题中有这个.
我做了一个类似我的问题的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)我有一个热键设置为在我通过 SSH 连接到服务器时自动创建一些别名并安装脚本(为了我的工作)。有谁知道从命令行设置 vim colo 的方法,以便我可以在我的热键中使用它?谢谢!