<!DOCTYPE html><html lang=&#34;en&#34;> <head> <meta charset=&#34;UTF-8&#34; /> <meta http-equiv=&#34;X-UA-Compatible&#34; content=&#34;IE=edge&" />

国产成人精品无码青草_亚洲国产美女精品久久久久∴_欧美人与鲁交大毛片免费_国产果冻豆传媒麻婆精东

15158846557 在線咨詢 在線咨詢
15158846557 在線咨詢
所在位置: 首頁 > 營銷資訊 > 網站運營 > 網頁制作中飄動的按鈕怎么制作?

網頁制作中飄動的按鈕怎么制作?

時間:2024-02-16 08:20:01 | 來源:網站運營

時間:2024-02-16 08:20:01 來源:網站運營

網頁制作中飄動的按鈕怎么制作?:animation css就行了

<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Document</title> <style> button { position: fixed; top: 0; left: 0; background-color: red; animation-name: MoveAnimation; animation-duration: 20s; animation-fill-mode: both; animation-iteration-count: infinite; animation-play-state: running; animation-direction: alternate; cursor: pointer; } button:hover { animation-play-state: paused; } @keyframes MoveAnimation { from { top: 0; left: 0; } to { top: calc(100% - 30px); left: calc(100% - 50px); } } </style> </head> <body> <button>button</button> </body></html>

關鍵詞:

74
73
25
news

版權所有? 億企邦 1997-2025 保留一切法律許可權利。

為了最佳展示效果,本站不支持IE9及以下版本的瀏覽器,建議您使用谷歌Chrome瀏覽器。 點擊下載Chrome瀏覽器
關閉