write a notification html for Chrome
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Chrome-Style Notification</title>
<style>
/* Reset & base */
*{box-sizing:border-box;margin:0;padding:0}
body{
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
background:#f1f3f4;
display:flex;
align-items:center;
justify-content:center;
height:100vh;
}
/* Notification card */
.notification{
width:360px;
background:#fff;
border-radius:8px;
box-shadow:0 4px 12px rgba(0,0,0,.15);
overflow:hidden;
animation:slideIn .35s ease-out;
}
@keyframes slideIn{
from{transform:translateY(-20px);opacity:0}
to{transform:translateY(0);opacity:1}
}
/* Header */
.header{
display:flex;
align-items:center;
padding:12px 16px;
border-bottom:1px solid #e8eaed;
}
.header img{
width:20px;
height:20px;
margin-right:8px;
}
.header span{
font-size:13px;
color:#5f6368;
}
/* Body */
.body{
padding:16px;
}
.title{
font-size:15px;
font-weight:600;
color:#202124;
margin-bottom:4px;
}
.message{
font-size:14px;
color:#3c4043;
line-height:1.4;
}
/* Footer actions */
.actions{
display:flex;
justify-content:flex-end;
padding:8px 16px 12px;
}
.btn{
background:none;
border:none;
font-size:13px;
color:#1a73e8;
padding:6px 8px;
margin-left:8px;
cursor:pointer;
border-radius:4px;
transition:background .15s;
}
.btn:hover{background:#e8f0fe}
.btn.primary{
background:#1a73e8;
color:#fff;
}
.btn.primary:hover{background:#1765cc}
</style>
</head>
<body>
<div class="notification" id="notification">
<div class="header">
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iIzQyODVmNCIgZD0iTTIxLjM1IDEwLjVIMTJWMy41YzAtLjU1LS40NS0xLTEtMXMtMSAuNDUtMSAxdjcuNUgzLjVjLS41NSAwLTEgLjQ1LTEgMXMuNDUgMSAxIDFIMTB2Ny41YzAgLjU1LjQ1IDEgMSAxczEtLjQ1IDEtMXYtNy41aDkuMzVjLjU1IDAgMS0uNDUgMS0xcy0uNDUtMS0xLTF6Ii8+PC9zdmc+" alt="icon">
<span>chrome-extension://abc123</span>
</div>
<div class="body">
<div class="title">Update available</div>
<div class="message">A new version of this extension is ready. Restart Chrome to apply the update.</div>
</div>
<div class="actions">
<button class="btn" onclick="closeNotification()">Not now</button>
<button class="btn primary" onclick="restartChrome()">Restart</button>
</div>
</div>
<script>
function closeNotification(){
const n=document.getElementById('notification');
n.style.animation='slideIn .35s ease-out reverse';
setTimeout(()=>n.remove(),350);
}
function restartChrome(){
alert('Restarting Chrome… (demo only)');
closeNotification();
}
</script>
</body>
</html>