whitebearcode / typecho-bearsimple

一款简洁大方的Typecho主题

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

建议为 "回到顶部" 按钮添加简单动效

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 unsubscribehttps://github.com/notifications/unsubscribe-auth/AQTPT75HADKCPUKZWA723FDUIFFY5ANCNFSM5GO6PRQQ.

感觉这个可以自己实现,不是有自定义css功能吗