Skip to content

鼠标悬停再出现提示 #13642

Open
Open
@TCOTC

Description

@TCOTC
Contributor

Activity

KuiyueRO

KuiyueRO commented on Dec 27, 2024

@KuiyueRO

Vote

Vanessa219

Vanessa219 commented on Dec 30, 2024

@Vanessa219
Member

延迟也会弹出,依然会 noisy

changed the title [-]CSS 默认给悬浮提示和伪元素提示加个显示延迟[/-] [+]鼠标悬停再出现提示[/+] on Dec 30, 2024
added this to the 3.1.18 milestone on Dec 30, 2024
Jiangshuon

Jiangshuon commented on Dec 30, 2024

@Jiangshuon
Contributor

我感觉现在这样更好

88250

88250 commented on Dec 30, 2024

@88250
Member

需要有一定延时弹出更好一些,不然鼠标在文档树上移动的时候视觉干扰太强了。

removed this from the 3.1.18 milestone on Dec 30, 2024
TCOTC

TCOTC commented on Feb 15, 2025

@TCOTC
ContributorAuthor

比如我的主题就是延迟弹出的,用了 animation-delay

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.tooltip {
    animation-name: tooltipFadeIn;
    animation-duration: 100ms; // 过渡时间
    animation-delay: 800ms;    // 延迟显示
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Vanessa219@KuiyueRO@Jiangshuon@TCOTC

      Issue actions

        鼠标悬停再出现提示 · Issue #13642 · siyuan-note/siyuan