效能
通過幀率: 平均 60 fps,p5 59.9 · 長任務: 0 個,共 0 毫秒,最長 0 毫秒 · 原始碼 gzip 1.7 KB · 執行時 1.5 KB
terrible-otter-19MIT卡片Uiverse.io
Yaya12085 用純 HTML 和 CSS 做的卡片。依 MIT 授權從 Uiverse.io 收錄,此處為即時預覽。
品質報告
等級和分數來自建置或測試時跑過的自動檢查。沒跑過的項目會標成「未檢測」,不會填假資料。
幀率: 平均 60 fps,p5 59.9 · 長任務: 0 個,共 0 毫秒,最長 0 毫秒 · 原始碼 gzip 1.7 KB · 執行時 1.5 KB
問題 1 · 讀屏: 需注意
沒有持續動效
無溢出
幀率和長任務是在無介面的 Chromium 裡用軟體 WebGL 測的,只適合在本站元件之間比較,不代表實機表現。
不適用:靜止時沒有可見動畫;由懸停觸發的動畫沒有測試。

檢測於 2026年11月15日 · 資料來自自動腳本,不是手工填寫。
以實際尺寸顯示。
複製內容以授權聲明開頭,使用程式碼時請保留。
<div class="card">
<div class="header">
<span class="icon">
<svg fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path clip-rule="evenodd" d="M18 3a1 1 0 00-1.447-.894L8.763 6H5a3 3 0 000 6h.28l1.771 5.316A1 1 0 008 18h1a1 1 0 001-1v-4.382l6.553 3.276A1 1 0 0018 15V3z" fill-rule="evenodd"></path>
</svg>
</span>
<p class="alert">New message!</p>
</div>
<p class="message">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsam ea quo unde
vel adipisci blanditiis voluptates eum. Nam, cum minima?
</p>
<div class="actions">
<a class="read" href="">
Take a Look
</a>
<a class="mark-as-read" href="">
Mark as Read
</a>
</div>
</div>/* From Uiverse.io by Yaya12085 - Tags: alert, notification, card */
.card {
max-width: 320px;
border-width: 1px;
border-color: rgba(219, 234, 254, 1);
border-radius: 1rem;
background-color: rgba(255, 255, 255, 1);
padding: 1rem;
}
.header {
display: flex;
align-items: center;
grid-gap: 1rem;
gap: 1rem;
}
.icon {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
border-radius: 9999px;
background-color: rgba(96, 165, 250, 1);
padding: 0.5rem;
color: rgba(255, 255, 255, 1);
}
.icon svg {
height: 1rem;
width: 1rem;
}
.alert {
font-weight: 600;
color: rgba(107, 114, 128, 1);
}
.message {
margin-top: 1rem;
color: rgba(107, 114, 128, 1);
}
.actions {
margin-top: 1.5rem;
}
.actions a {
text-decoration: none;
}
.mark-as-read, .read {
display: inline-block;
border-radius: 0.5rem;
width: 100%;
padding: 0.75rem 1.25rem;
text-align: center;
font-size: 0.875rem;
line-height: 1.25rem;
font-weight: 600;
}
.read {
background-color: rgba(59, 130, 246, 1);
color: rgba(255, 255, 255, 1);
}
.mark-as-read {
margin-top: 0.5rem;
background-color: rgba(249, 250, 251, 1);
color: rgba(107, 114, 128, 1);
transition: all .15s ease;
}
.mark-as-read:hover {
background-color: rgb(230, 231, 233);
}控制項 · HTML · CSS · JS
直接改程式碼,再用控制項微調,預覽會隨輸入即時更新。

線上編輯每個元件,用控制項微調,下載完整原始碼,複製進階提示詞。
一次性 $49暫定價格
測試模式:不會真的扣款。
免費:預覽、複製按鈕和課程說明。
白卡帶藍色圖示、New message 標題、簡短預覽,以及 Take a Look 和標為已讀兩個操作,清楚又禮貌。
應用內通知、收件箱提醒和動態流。
改 320px 最大寬度、1rem 圓角、rgba(219,234,254,1) 邊框和操作連結顏色。
用純 HTML、CSS 和 JavaScript(不用框架)做一個「新訊息提醒卡」元件。白卡帶藍色圖示、New message 標題、簡短預覽,以及 Take a Look 和標為已讀兩個操作,清楚又禮貌。 適用場景:應用內通知、收件箱提醒和動態流。 開放這些可調項:改 320px 最大寬度、1rem 圓角、rgba(219,234,254,1) 邊框和操作連結顏色。 支援淺色和深色主題,遵守 prefers-reduced-motion 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。