首頁  >  文章  >  web前端  >  實例講解css進行中打點效果的實現

實例講解css進行中打點效果的實現

小云云
小云云原創
2017-12-12 09:44:231769瀏覽

本文主要介紹了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>

 相關建議:

用css3實作打點效果實例講解

#純CSS3 效果資源收集整理

20 個CSS 進階技巧總結

以上是實例講解css進行中打點效果的實現的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn