x
1
2
3
4
5
6
7
<div class="alert flex items-start" style="--alert-background: var(--amber-50); --alert-border-color: var(--amber-200); --alert-color: var(--amber-900)" role="alert"> <span class="icon icon--triangle-alert" aria-hidden="true"></span> <div class="flex flex-col mis-2"> <h5 class="font-medium leading-none mbe-1">Your subscription will expire in 3 days.</h5> <p class="text-balance">Renew now to avoid service interruption or upgrade to a paid plan to continue using the service.</p> </div></div>1
2
3
4
5
6
7
<div class="alert flex items-start" style="--alert-background: var(--amber-50); --alert-border-color: var(--amber-200); --alert-color: var(--amber-900)" role="alert"> <span class="icon icon--triangle-alert" aria-hidden="true"></span> <div class="flex flex-col mis-2"> <h5 class="font-medium leading-none mbe-1">Your subscription will expire in 3 days.</h5> <p class="text-balance">Renew now to avoid service interruption or upgrade to a paid plan to continue using the service.</p> </div></div>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.alert { background-color: var(--alert-background, var(--color-surface)); border: 1px solid var(--alert-border-color, var(--color-border)); border-radius: var(--rounded-lg); color: var(--alert-color, var(--color-text)); font-size: var(--text-sm); inline-size: var(--size-full); padding: var(--size-2) var(--size-2_5);}.alert--positive { --alert-color: light-dark(var(--green-600), var(--green-400));}.alert--negative { --alert-color: light-dark(var(--red-600), var(--red-400));}
Java Script is not required or multiple files are needed, check the notes.
No notes provided.