建议为 "回到顶部" 按钮添加简单动效
SlimeNull opened this issue · comments
可以使用以下代码来实现:
.goTop:hover { transform: scale(1.05) !important; transition: 0.2s !important }
.goTop:active { transform: scale(0.95) !important; transition: 0.1s !important }
是有效果的,例如往上划到定位点自动向右隐藏
往下自动显示。
我说的是点击动效哦,例如鼠标悬停时放大,点击时变小
…________________________________
From: WhiteBearCode ***@***.***>
Sent: Friday, October 22, 2021 7:50:38 PM
To: whitebearcode/typecho-bearsimple ***@***.***>
Cc: SlimeNull ***@***.***>; Author ***@***.***>
Subject: Re: [whitebearcode/typecho-bearsimple] 建议为 "回到顶部" 按钮添加简单动效 (Issue #9)
是有效果的,例如往上划到定位点自动向右隐藏
往下自动显示。
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#9 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQTPT75HADKCPUKZWA723FDUIFFY5ANCNFSM5GO6PRQQ>.
我说的是点击动效哦,例如鼠标悬停时放大,点击时变小
…
________________________________ From: WhiteBearCode @.> Sent: Friday, October 22, 2021 7:50:38 PM To: whitebearcode/typecho-bearsimple @.> Cc: SlimeNull @.>; Author @.> Subject: Re: [whitebearcode/typecho-bearsimple] 建议为 "回到顶部" 按钮添加简单动效 (Issue #9) 是有效果的,例如往上划到定位点自动向右隐藏 往下自动显示。 ― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<#9 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQTPT75HADKCPUKZWA723FDUIFFY5ANCNFSM5GO6PRQQ.
感觉这个可以自己实现,不是有自定义css功能吗
嗯,是的,但是我觉得主题原生支持比较好一些
Peace & Love
…________________________________
From: sddwt ***@***.***>
Sent: Thursday, December 2, 2021 12:06:52 AM
To: whitebearcode/typecho-bearsimple ***@***.***>
Cc: SlimeNull ***@***.***>; Author ***@***.***>
Subject: Re: [whitebearcode/typecho-bearsimple] 建议为 "回到顶部" 按钮添加简单动效 (Issue #9)
我说的是点击动效哦,例如鼠标悬停时放大,点击时变小
…
________________________________ From: WhiteBearCode @.> Sent: Friday, October 22, 2021 7:50:38 PM To: whitebearcode/typecho-bearsimple @.> Cc: SlimeNull @.>; Author @.> Subject: Re: [whitebearcode/typecho-bearsimple] 建议为 "回到顶部" 按钮添加简单动效 (Issue #9<#9>) 是有效果的,例如往上划到定位点自动向右隐藏 往下自动显示。 D You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<#9 (comment)<#9 (comment)>>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQTPT75HADKCPUKZWA723FDUIFFY5ANCNFSM5GO6PRQQ.
感觉这个可以自己实现,不是有自定义css功能吗
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#9 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQTPT7YHMOOFJHD7LOD6YSDUOZBZZANCNFSM5GO6PRQQ>.