Tooltip Component
A responsive dark-themed tooltip component, part of a Triadic color scheme, suitable for a portfolio. Built with Tailwind CSS for a simple, minimal aesthetic.
HTML Code
<div class="relative flex justify-center items-center h-screen bg-gray-900 dark:bg-gray-800">
<div class="group relative flex">
<button class="bg-blue-600 text-white px-4 py-2 rounded-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 transition duration-300 ease-in-out">Hover Me</button>
<div class="opacity-0 w-48 bg-gray-700 dark:bg-gray-900 text-white text-center text-xs rounded-lg py-2 absolute z-10 group-hover:opacity-100 bottom-full -translate-x-1/2 left-1/2 ml-0 mb-3 pointer-events-none transition-opacity duration-300">
<p>This is a triadic color scheme tooltip for your portfolio.</p>
<svg class="absolute text-gray-700 dark:text-gray-900 h-2 w-full left-0 top-full" x="0px" y="0px" viewBox="0 0 255 255" xml:space="preserve"><polygon class="fill-current" points="0,0 127.5,127.5 255,0"/></svg>
</div>
</div>
</div>
Related Components
Tooltip Component
A minimalist and flat design tooltip component for event/conference websites, featuring a black and white color scheme with a bright accent.
Tooltip Component
Tooltip Component with Skeuomorphism style, Complementary color scheme, Simple complexity, for E-commerce.
Tooltip Component
A neumorphic tooltip component with a complementary color scheme, moderate complexity, and responsive design with dark theme support, suitable for a blog or content consumption.