性能
通过帧率: 平均 60 fps,p5 59.9 · 长任务: 0 个,共 0 毫秒,最长 0 毫秒 · 源码 gzip 2.3 KB · 运行时 1.5 KB
terrible-emu-64MIT提示Uiverse.io
bociKond 用纯 HTML 和 CSS 做的提示。按 MIT 许可从 Uiverse.io 收录,此处为实时预览。
质量报告
等级和分数来自构建或测试时跑过的自动检查。没跑过的项目会标成「未检测」,不会填假数据。
帧率: 平均 60 fps,p5 59.9 · 长任务: 0 个,共 0 毫秒,最长 0 毫秒 · 源码 gzip 2.3 KB · 运行时 1.5 KB
问题 0 · 读屏: 需注意
没有持续动效
无溢出
帧率和长任务是在无界面的 Chromium 里用软件 WebGL 测的,只适合在本站组件之间比较,不代表真机表现。
不适用:静止时没有可见动画;由悬停触发的动画没有测试。
没有 axe-core 违规。

检测于 2026年11月15日 · 数据来自自动脚本,不是手工填写。
按实际尺寸显示。
复制内容以许可声明开头,使用代码时请保留。
<div class="tooltip-container">
<span class="tooltip">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 64 64"
height="64"
width="64"
class="svg"
>
<path
d="M50.27 6.44997C47.2255 5.1936 43.8836 4.84045 40.6437 5.43274C37.4039 6.02503 34.4031 7.5377 32 9.78997C23.57 2.35997 13.8 4.63997 8.05998 10.14C2.05998 15.88 -0.590017 26.14 7.68998 35.14C8.22998 35.83 31 58.46 31 58.46C31.2829 58.7415 31.6658 58.8995 32.065 58.8995C32.4641 58.8995 32.847 58.7415 33.13 58.46L56.34 35.21C58.4116 33.1493 59.9346 30.603 60.7702 27.8031C61.6058 25.0032 61.7275 22.0387 61.1241 19.1797C60.5207 16.3207 59.2114 13.6582 57.3156 11.4348C55.4197 9.21134 52.9976 7.49768 50.27 6.44997V6.44997Z"
></path>
</svg>
<svg
viewBox="0 0 48 48"
xmlns="http://www.w3.org/2000/svg"
data-name="Layer 1"
id="Layer_1"
class="svg"
>
<path
d="M42.455,31.235l-2.267-2.266a5.274,5.274,0,0,0-7.459,0l-1.3,1.3a3.287,3.287,0,0,1-4.132.409A35.791,35.791,0,0,1,17.322,20.7a3.283,3.283,0,0,1,.409-4.132l1.3-1.3a5.274,5.274,0,0,0,0-7.459L16.765,5.545a5.279,5.279,0,0,0-7.459,0L6.8,8.054a9.535,9.535,0,0,0-2.769,7.484A21.294,21.294,0,0,0,8.232,26.7,65.334,65.334,0,0,0,21.3,39.769a21.3,21.3,0,0,0,11.162,4.2c.246.018.491.028.736.028a9.536,9.536,0,0,0,6.748-2.8l2.509-2.509a5.274,5.274,0,0,0,0-7.459Z"
></path>
</svg>
<svg
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xml:space="preserve"
viewBox="0 0 24 24"
version="1.1"
style="enable-background:new 0 0 24 24;"
class="svg"
>
<g id="info"></g>
<g id="icons">
<path
id="share"
d="M21.7,10.2l-6.6-6C14.6,3.7,14,4.2,14,5v3c-4.7,0-8.7,2.9-10.6,6.8c-0.7,1.3-1.1,2.7-1.4,4.1 c-0.2,1,1.3,1.5,1.9,0.6C6.1,16,9.8,13.7,14,13.7V17c0,0.8,0.6,1.3,1.1,0.8l6.6-6C22.1,11.4,22.1,10.6,21.7,10.2z"
></path>
</g>
</svg>
</span>
<span class="text">+</span>
</div>/* From Uiverse.io by bociKond - Website: https://codepen.io/milanraring/pen/JjoamZx - Name: Milan Raring - Tags: simple, tooltip, social, notification */
.tooltip-container {
--white: #f2f2f2;
--background: #1f8392;
position: relative;
background: var(--background);
cursor: pointer;
transition: all 0.2s;
font-size: 2rem;
font-weight: 900;
color: var(--white);
width: 5rem;
aspect-ratio: 1/1;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
}
.tooltip {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
padding: 0.3em 0.6em;
opacity: 0;
pointer-events: none;
background: var(--background);
transition: all 300ms;
fill: white;
display: flex;
align-items: center;
gap: 0.3rem;
border-radius: 30rem;
}
.tooltip .svg {
height: 3rem;
aspect-ratio: 1/1;
cursor: pointer;
}
.tooltip .svg:nth-child(2) {
width: 4rem;
}
.tooltip::before {
position: absolute;
content: "";
height: 0.6em;
width: 0.6em;
bottom: -0.2em;
left: 50%;
transform: translate(-50%) rotate(45deg);
background: var(--background);
}
.tooltip-container .text {
transition: all 600ms;
}
.tooltip-container:hover .text {
transform: rotate(225deg);
}
.tooltip-container:hover .tooltip {
top: -100%;
opacity: 1;
visibility: visible;
pointer-events: auto;
}控件 · HTML · CSS · JS
直接改代码,再用控件微调,预览会随输入实时更新。

在线编辑每个组件,用控件微调,下载完整源码,复制进阶提示词。
一次性 $49占位价格
测试模式:不会真实扣款。
免费:预览、复制按钮和课程说明。
圆形青色加号按钮,悬停时上方出现同色胶囊,里面是几个社交图标,分享入口平时藏起来。
分享操作、快速添加菜单和悬浮操作按钮。
改 --background(#1f8392)、--white、5rem 按钮尺寸和 300ms 显现。
用纯 HTML、CSS 和 JavaScript(不用框架)做一个「加号分享提示」组件。圆形青色加号按钮,悬停时上方出现同色胶囊,里面是几个社交图标,分享入口平时藏起来。 适用场景:分享操作、快速添加菜单和悬浮操作按钮。 开放这些可调项:改 --background(#1f8392)、--white、5rem 按钮尺寸和 300ms 显现。 支持浅色和深色主题,遵守 prefers-reduced-motion 并给出静止画面,保证文字清晰、控件可用键盘操作。请写原创代码,不要从付费或受限的组件库复制。
更完整的提示词,包含调参、无障碍和接入步骤。