Complete the code to add a red ping animation circle using Tailwind CSS.
<div class="relative"> <div class="absolute top-0 right-0 h-3 w-3 rounded-full bg-red-500 [1]"></div> </div>
The animate-ping class creates a ping animation effect, which is perfect for notification dots.
Complete the code to position the ping animation circle at the top-right corner of the parent.
<div class="relative"> <div class="absolute [1] h-3 w-3 rounded-full bg-red-500 animate-ping"></div> </div>
The classes top-0 right-0 place the element at the top-right corner inside a relative container.
Fix the error in the code to make the ping animation visible and properly sized.
<div class="relative"> <div class="absolute top-0 right-0 h-[1] w-3 rounded-full bg-red-500 animate-ping"></div> </div>
Use h-6 for better visibility of the ping animation with the w-3 width.
Fill both blanks to create a notification icon with a ping animation and a solid red dot on top.
<div class="relative"> <svg class="h-6 w-6 text-gray-700" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6 6 0 10-12 0v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9" /> </svg> <span class="absolute [1] [2] block h-3 w-3 rounded-full bg-red-400 opacity-75 animate-ping"></span> <span class="absolute top-0 right-0 block h-2 w-2 rounded-full bg-red-600"></span> </div>
The ping animation circle should be positioned at the top-right corner using top-0 and right-0 classes.
Fill all three blanks to create a ping animation with a larger circle, a smaller circle, and position them correctly.
<div class="relative"> <span class="absolute [1] [2] block h-4 w-4 rounded-full bg-red-400 opacity-75 animate-ping"></span> <span class="absolute top-0 [3] block h-2 w-2 rounded-full bg-red-600"></span> <button aria-label="Notifications" class="relative"> <svg class="h-6 w-6 text-gray-700" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6 6 0 10-12 0v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9" /> </svg> </button> </div>
The ping circles and the smaller dot should be positioned at the top-right corner using top-0 and right-0. The third blank is the same right-0 to align the smaller circle horizontally.