我尝试在没有JavaScript的情况下制作一个每3秒运行一次的动画.我的动画持续时间是1秒.
我只能在第一次出现时等待3秒,然后它就是1s动画的循环.
到目前为止我的代码:https://jsfiddle.net/belut/aojp8ozn/32/
.face.back {
-webkit-animation: BackRotate 1s linear infinite;
-webkit-animation-delay: 3s;
animation: BackRotate 1s linear infinite;
animation-delay: 3s;
}
.face.front {
-webkit-animation: Rotate 1s linear infinite;
-webkit-animation-delay: 3s;
animation: Rotate 1s linear infinite;
animation-delay: 3s;
}
@-webkit-keyframes Rotate {
from {-webkit-transform:rotateY(0deg);}
to {-webkit-transform:rotateY(360deg);}
}
@-webkit-keyframes BackRotate {
from {-webkit-transform:rotateY(180deg);}
to {-webkit-transform:rotateY(540deg);}
}
@keyframes Rotate {
from {-webkit-transform:rotateY(0deg);}
to {-webkit-transform:rotateY(360deg);}
}
@keyframes BackRotate {
from {-webkit-transform:rotateY(0deg);}
to {-webkit-transform:rotateY(360deg);}
}
Run Code Online (Sandbox Code Playgroud)
我知道如何使用javascript:https://jsfiddle.net/belut/fk3f47jL/1/
我试过这个答案没有成功:用一段暂停时间循环CSS3动画? …
我在尝试grep(过滤)一个整数值的日志文件时遇到问题。
logfile.log:
2014-11-16 21:22:15 8 10.133.23.9 PROXIED ...
2014-11-16 21:22:15 1 163.104.40.133 authentication_failed DENIED ...
2014-11-16 21:22:15 15 163.104.40.134 authentication_failed DENIED ...
2014-11-16 21:22:16 9 163.104.124.209 PROXIED ...
Run Code Online (Sandbox Code Playgroud)
我有3列一个int: ,8,1,。159
我只需要,如果到grep: value > 10。
就像是:
cat logfile.log | grep {$2>10}
2014-11-16 21:22:15 15 163.104.40.134 authentication_failed DENIED ...
Run Code Online (Sandbox Code Playgroud)