效能
通過幀率: 平均 60 fps,p5 59.9 · 長任務: 0 個,共 0 毫秒,最長 0 毫秒 · 原始碼 gzip 2.4 KB · 執行時 2.5 KB
smooth-seahorse-63MIT通知Uiverse.io
Yaya12085 用純 HTML 和 CSS 做的通知。依 MIT 授權從 Uiverse.io 收錄,此處為即時預覽。
品質報告
等級和分數來自建置或測試時跑過的自動檢查。沒跑過的項目會標成「未檢測」,不會填假資料。
幀率: 平均 60 fps,p5 59.9 · 長任務: 0 個,共 0 毫秒,最長 0 毫秒 · 原始碼 gzip 2.4 KB · 執行時 2.5 KB
問題 1 · 讀屏: 需注意
已回應減弱動效
無溢出
幀率和長任務是在無介面的 Chromium 裡用軟體 WebGL 測的,只適合在本站元件之間比較,不代表實機表現。

檢測於 2026年11月15日 · 資料來自自動腳本,不是手工填寫。
以實際尺寸顯示。
複製內容以授權聲明開頭,使用程式碼時請保留。
<div class="notification">
<div class="icon">
<svg fill="#000000" xmlns="http://www.w3.org/2000/svg" version="1.1" class="icon" viewBox="0 0 1024 1024"><g stroke-width="0" id="SVGRepo_bgCarrier"></g><g stroke-linejoin="round" stroke-linecap="round" id="SVGRepo_tracerCarrier"></g><g id="SVGRepo_iconCarrier"><path fill="#E9E8FF" d="M512 512m-480 0a480 480 0 1 0 960 0 480 480 0 1 0-960 0Z"></path><path fill="#8880FE" d="M723.2 704c-25.6 0-51.2-12.8-70.4-32L582.4 582.4H435.2l-38.4 64c-19.2 32-51.2 57.6-89.6 57.6-57.6 0-102.4-44.8-102.4-102.4v-12.8V576l25.6-166.4c6.4-70.4 57.6-121.6 128-121.6 32 0 70.4 12.8 89.6 38.4 25.6 0 89.6-6.4 128 0 25.6-25.6 57.6-32 89.6-32 51.2 0 96 32 115.2 83.2v12.8l38.4 179.2c0 6.4 6.4 19.2 6.4 32 0 51.2-44.8 102.4-102.4 102.4z"></path><path fill="#FFFFFF" d="M716.8 460.8c-12.8 0-19.2-12.8-19.2-19.2s6.4-19.2 19.2-19.2c12.8 0 19.2 12.8 19.2 19.2s-6.4 19.2-19.2 19.2z m-108.8 0c-12.8 0-19.2-12.8-19.2-19.2s6.4-19.2 19.2-19.2c12.8 0 19.2 12.8 19.2 19.2s-6.4 19.2-19.2 19.2z m51.2 57.6c-6.4 0-19.2-6.4-19.2-19.2s6.4-19.2 19.2-19.2 19.2 12.8 19.2 19.2-6.4 19.2-19.2 19.2z m0-115.2c-6.4 0-19.2-6.4-19.2-19.2s6.4-19.2 19.2-19.2 19.2 12.8 19.2 19.2-6.4 19.2-19.2 19.2zM345.6 416h-51.2V448h51.2v51.2h32V448h51.2v-32h-51.2v-51.2h-32z"></path></g></svg>
</div>
<div class="messages">
<span class="title">Well done!</span>
<span class="description">New level reached.</span>
<span class="level">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><g stroke-width="0" id="SVGRepo_bgCarrier"></g><g stroke-linejoin="round" stroke-linecap="round" id="SVGRepo_tracerCarrier"></g><g id="SVGRepo_iconCarrier"> <path stroke-linejoin="round" stroke-linecap="round" stroke-width="2" stroke="#fff" d="M15 16L12.1937 13.1937V13.1937C12.0867 13.0867 11.9133 13.0867 11.8063 13.1937V13.1937L9 16"></path> <path stroke-linejoin="round" stroke-linecap="round" stroke-width="2" stroke="#fff" d="M15 11L12.1505 8.15049V8.15049C12.0674 8.06738 11.9326 8.06738 11.8495 8.15049V8.15049L9 11"></path> </g></svg>
lvl. 8
</span>
</div>
<div class="action">
<button>Next</button>
</div>
</div>/* From Uiverse.io by Yaya12085 - Tags: notification */
.notification {
width: 300px;
height: 70px;
background: #fff;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: space-between;
color: #212121;
box-shadow: 0px 42px 53px 13px rgba(0,0,0,0.1);
padding: 2px;
position: relative;
animation: appear .6s linear alternate-reverse infinite;
transition: all .6s ease;
}
.icon {
height: 100%;
transition: transform .6s ease;
}
.messages {
height: 100%;
flex: 1;
display: flex;
flex-direction: column;
justify-content: flex-start;
padding: 4px;
}
.title {
font-size: 0.95rem;
line-height: 1rem;
font-weight: 700;
margin-bottom: 4px;
color: #494949;
}
.description {
font-size: 13px;
margin-bottom: 4px;
}
.level {
color: #7d5cf5;
font-weight: 600;
background-color: #7d5cf53f;
display: flex;
align-items: center;
flex: 1;
height: 0;
width: max-content;
padding: 4px;
border-radius: 10px;
}
.level svg {
height: 140%;
background-color: #7d5cf5;
border-radius: 6px;
margin-right: 4px;
}
.action {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.action button {
padding: 0.5rem 1rem;
background-color: #7d5cf5;
color: #ffffff;
font-size: 0.75rem;
line-height: 1rem;
font-weight: 700;
text-transform: uppercase;
border-radius: 10px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
border: none;
height: 40px;
transition: all .6s ease;
margin-right: 6px;
}
.notification:hover .icon {
transform: rotate(45deg);
}
.action button:hover {
height: 100%;
margin-right: 0;
}
.action button:active {
background-color: #4dec48;
}
@keyframes appear {
from {
transform: scale(0.98);
}
to {
transform: scale(1);
}
}控制項 · HTML · CSS · JS
直接改程式碼,再用控制項微調,預覽會隨輸入即時更新。

線上編輯每個元件,用控制項微調,下載完整原始碼,複製進階提示詞。
一次性 $49暫定價格
測試模式:不會真的扣款。
免費:預覽、複製按鈕和課程說明。
300px 白色卡片裡有圖示、Well done 標題、等級標籤和 Next 按鈕,帶著 0.6 秒的上浮和大片柔影輕輕浮動。
關卡完成、任務獎勵和分步學習應用。
改 300px × 70px 尺寸、10px 圓角、0.6s 的 appear 動畫和 42px 的陰影擴散。
用純 HTML、CSS 和 JavaScript(不用框架)做一個「“幹得好”等級通知」元件。300px 白色卡片裡有圖示、Well done 標題、等級標籤和 Next 按鈕,帶著 0.6 秒的上浮和大片柔影輕輕浮動。 適用場景:關卡完成、任務獎勵和分步學習應用。 開放這些可調項:改 300px × 70px 尺寸、10px 圓角、0.6s 的 appear 動畫和 42px 的陰影擴散。 支援淺色和深色主題,遵守 prefers-reduced-motion 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。