css做出打點效果

來源:互聯網
上載者:User
這次給大家帶來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>

相信看了本文案例你已經掌握了方法,更多精彩請關注php中文網其它相關文章!
推薦閱讀:

css3的Transition平滑過渡功能表列實現

box-shadow的陰影製作效果如何使用

常用的CSS實現垂直置中的4種方法

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.