css进行中打点效果代码实例
分类:实例代码
分享一段代码代码实例,它利用css实现了进行中打点效果。
比如提交进行中,视频下载进行中的打点效果。
代码实例如下:
<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="author" content="http://www.pipipi.net/" /> <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>
css进行中打点效果代码实例,这样的场景在实际项目中还是用的比较多的,关于css进行中打点效果代码实例就介绍到这了。
css进行中打点效果代码实例属于前端实例代码,有关更多实例代码大家可以查看。