Tooltip-Komponente
Eine Tooltip-Komponente im Neumorphism-Stil für die Präsentation von Portfolios mit Unterstützung für den Dunkelmodus, responsivem Design und Verwendung von Tailwind CSS.
HTML-Code
<div class="relative group">
<div class="flex items-center space-x-4">
<img src="https://randomuser.me/api/portraits/men/5.jpg" alt="Avatar" class="w-10 h-10 rounded-full shadow-lg dark:shadow-none">
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg dark:shadow-none p-4">
<h2 class="text-gray-800 dark:text-gray-200 font-semibold">Project Title</h2>
<p class="text-gray-600 dark:text-gray-400">This is a brief description of the project or product showcased in the portfolio.</p>
</div>
</div>
<div class="absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 hidden group-hover:block">
<div class="bg-white dark:bg-gray-800 shadow-lg rounded-lg p-3 text-center transition-all duration-300">
<p class="text-sm text-gray-800 dark:text-gray-200">More details about the project.</p>
<img src="https://picsum.photos/200/100" alt="Project Image" class="mt-2 rounded-lg shadow-md dark:shadow-none">
</div>
<div class="w-3 h-3 bg-white dark:bg-gray-800 absolute left-1/2 transform -translate-x-1/2 -bottom-1 rotate-45"></div>
</div>
</div>
Verwandte Komponenten
Minimalistisches Pastell E-Commerce Tooltip
Minimalistische pastellfarbene Tooltip-Komponente für den E-Commerce, mit responsivem Design und Unterstützung für den Dunkelmodus.
Tooltip-Komponente
Tooltip-Komponente mit Skeuomorphismus-Stil, Komplementärfarbschema, Einfache Komplexität, für E-Commerce.
Tooltip-Komponente
Eine komplexe, reaktionsschnelle, von Dark-Themes unterstützte Skeuomorphic-Vibrant Tooltip-Komponente für Dashboards mit Tailwind CSS. Kein JavaScript erforderlich, nur HTML mit Tailwind-Klassen. Verwenden Sie für den Dunkelmodus das Präfix dark: von Tailwind für das Styling. Die Bilder stammen von picsum.photos und randomuser.me.