您好,欢迎来到教玩游戏。
搜索
您的当前位置:首页css做出打点效果

css做出打点效果

来源:教玩游戏


这次给大家带来css做出打点效果,css做出打点效果的注意事项有哪些,下面就是实战案例,一起来看一下。

代码如下:

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="author" content="http://www.softwhy.com/" />
<title>进行中...</title>
<style>
dot {
 display:inline-block;
 width:3ch;
 text-indent:-1ch;
 vertical-align:bottom;
 overflow:hidden;
 animation:dot 3s infinite step-start both;
}
@keyframes dot {
 33% { text-indent: 0; }
 66% { text-indent: -2ch; }
}
</style>
</head>
<body>
<a href="javascript:">进行中<dot>...</dot></a>
</body>
</html>

相信看了本文案例你已经掌握了方法,更多精彩请关注Gxl网其它相关文章!
推荐阅读:

css3的Transition平滑过渡菜单栏实现

box-shadow的阴影效果如何使用

常用的CSS实现垂直居中的4种方法

Copyright © 2019- lvjiaowang.com 版权所有

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务