Table des matières
Hover Effect Ideas An inspirational collection of subtle hover effects
Lily
Nice Lily
Sadie
Holy Sadie
Honey
Dreamy Honey Now
Layla
Crazy Layla
Zoe
Creative Zoe
Oscar
Warm Oscar
Marley
Sweet Marley
Ruby
Glowing Ruby
Roxy
Charming Roxy
Bubba
Fresh Bubba
Romeo
Wild Romeo
Dexter
Strange Dexter
Sarah
Free Sarah
Chico
Silly Chico
Milo
Faithful Milo
Maison interface Web tutoriel HTML 30款css3实现的鼠标经过图片显示描述特效_html/css_WEB-ITnose

30款css3实现的鼠标经过图片显示描述特效_html/css_WEB-ITnose

Jun 24, 2016 am 11:49 AM

今天给大家分享30款css3实现的鼠标经过图片显示描述特效,鼠标经过这些图片的时候以非常炫的方式显示图片的描述。为保证最佳的效果,请在 IE10+、Chrome、Firefox 和 Safari 等现代浏览器中浏览。

在线预览   源码下载

实现的代码。

html代码:

 <div class="container">        <!-- Top Navigation -->        <header class="codrops-header">                <h1 id="Hover-Effect-Ideas-span-An-inspirational-collection-of-subtle-hover-effects-span">Hover Effect Ideas <span>An inspirational collection of subtle hover effects</span></h1>                <nav class="codrops-demos">                    <a class="current-demo" href="index.html">Set 1</a>                    <a href="index2.html">Set 2</a>                </nav>            </header>        <div class="content">            <h2 id="Lily">                Lily</h2>            <div class="grid">                <figure class="effect-lily">                        <img src="/static/imghw/default1.png"  data-src="img/12.jpg"  class="lazy" alt="img12"/>                        <figcaption>                            <div>                                <h2 id="Nice-span-Lily-span">Nice <span>Lily</span></h2>                                <p>Lily likes to play with crayons and pencils</p>                            </div>                            <a href="#">View more</a>                        </figcaption>                                </figure>                <figure class="effect-lily">                        <img src="/static/imghw/default1.png"  data-src="img/1.jpg"  class="lazy" alt="img1"/>                        <figcaption>                            <div>                                <h2 id="Nice-span-Lily-span">Nice <span>Lily</span></h2>                                <p>Lily likes to play with crayons and pencils</p>                            </div>                            <a href="#">View more</a>                        </figcaption>                                </figure>            </div>            <h2 id="Sadie">                Sadie</h2>            <div class="grid">                <figure class="effect-sadie">                        <img src="/static/imghw/default1.png"  data-src="img/2.jpg"  class="lazy" alt="img02"/>                        <figcaption>                            <h2 id="Holy-span-Sadie-span">Holy <span>Sadie</span></h2>                            <p>Sadie never took her eyes off me. <br>She had a dark soul.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>                <figure class="effect-sadie">                        <img src="/static/imghw/default1.png"  data-src="img/14.jpg"  class="lazy" alt="img14"/>                        <figcaption>                            <h2 id="Holy-span-Sadie-span">Holy <span>Sadie</span></h2>                            <p>Sadie never took her eyes off me. <br>She had a dark soul.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>            </div>            <h2 id="Honey">                Honey</h2>            <div class="grid">                <figure class="effect-honey">                        <img src="/static/imghw/default1.png"  data-src="img/4.jpg"  class="lazy" alt="img04"/>                        <figcaption>                            <h2 id="Dreamy-span-Honey-span-i-Now-i">Dreamy <span>Honey</span> <i>Now</i></h2>                            <a href="#">View more</a>                        </figcaption>                                </figure>                <figure class="effect-honey">                        <img src="/static/imghw/default1.png"  data-src="img/5.jpg"  class="lazy" alt="img05"/>                        <figcaption>                            <h2 id="Dreamy-span-Honey-span-i-Now-i">Dreamy <span>Honey</span> <i>Now</i></h2>                            <a href="#">View more</a>                        </figcaption>                                </figure>            </div>            <h2 id="Layla">                Layla</h2>            <div class="grid">                <figure class="effect-layla">                        <img src="/static/imghw/default1.png"  data-src="img/6.jpg"  class="lazy" alt="img06"/>                        <figcaption>                            <h2 id="Crazy-span-Layla-span">Crazy <span>Layla</span></h2>                            <p>When Layla appears, she brings an eternal summer along.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>                <figure class="effect-layla">                        <img src="/static/imghw/default1.png"  data-src="img/3.jpg"  class="lazy" alt="img03"/>                        <figcaption>                            <h2 id="Crazy-span-Layla-span">Crazy <span>Layla</span></h2>                            <p>When Layla appears, she brings an eternal summer along.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>            </div>            <h2 id="Zoe">                Zoe</h2>            <div class="grid">                <figure class="effect-zoe">                        <img src="/static/imghw/default1.png"  data-src="img/25.jpg"  class="lazy" alt="img25"/>                        <figcaption>                            <h2 id="Creative-span-Zoe-span">Creative <span>Zoe</span></h2>                            <p class="icon-links">                                <a href="#"><span class="icon-heart"></span></a>                                <a href="#"><span class="icon-eye"></span></a>                                <a href="#"><span class="icon-paper-clip"></span></a>                            </p>                            <p class="description">Zoe never had the patience of her sisters. She deliberately punched the bear in his face.</p>                        </figcaption>                                </figure>                <figure class="effect-zoe">                        <img src="/static/imghw/default1.png"  data-src="img/26.jpg"  class="lazy" alt="img26"/>                        <figcaption>                            <h2 id="Creative-span-Zoe-span">Creative <span>Zoe</span></h2>                            <p class="icon-links">                                <a href="#"><span class="icon-heart"></span></a>                                <a href="#"><span class="icon-eye"></span></a>                                <a href="#"><span class="icon-paper-clip"></span></a>                            </p>                            <p class="description">Zoe never had the patience of her sisters. She deliberately punched the bear in his face.</p>                        </figcaption>                                </figure>            </div>            <h2 id="Oscar">                Oscar</h2>            <div class="grid">                <figure class="effect-oscar">                        <img src="/static/imghw/default1.png"  data-src="img/9.jpg"  class="lazy" alt="img09"/>                        <figcaption>                            <h2 id="Warm-span-Oscar-span">Warm <span>Oscar</span></h2>                            <p>Oscar is a decent man. He used to clean porches with pleasure.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>                <figure class="effect-oscar">                        <img src="/static/imghw/default1.png"  data-src="img/10.jpg"  class="lazy" alt="img10"/>                        <figcaption>                            <h2 id="Warm-span-Oscar-span">Warm <span>Oscar</span></h2>                            <p>Oscar is a decent man. He used to clean porches with pleasure.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>            </div>            <h2 id="Marley">                Marley</h2>            <div class="grid">                <figure class="effect-marley">                        <img src="/static/imghw/default1.png"  data-src="img/11.jpg"  class="lazy" alt="img11"/>                        <figcaption>                            <h2 id="Sweet-span-Marley-span">Sweet <span>Marley</span></h2>                            <p>Marley tried to convince her but she was not interested.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>                <figure class="effect-marley">                        <img src="/static/imghw/default1.png"  data-src="img/12.jpg"  class="lazy" alt="img12"/>                        <figcaption>                            <h2 id="Sweet-span-Marley-span">Sweet <span>Marley</span></h2>                            <p>Marley tried to convince her but she was not interested.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>            </div>            <h2 id="Ruby">                Ruby</h2>            <div class="grid">                <figure class="effect-ruby">                        <img src="/static/imghw/default1.png"  data-src="img/13.jpg"  class="lazy" alt="img13"/>                        <figcaption>                            <h2 id="Glowing-span-Ruby-span">Glowing <span>Ruby</span></h2>                            <p>Ruby did not need any help. Everybody knew that.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>                <figure class="effect-ruby">                        <img src="/static/imghw/default1.png"  data-src="img/14.jpg"  class="lazy" alt="img14"/>                        <figcaption>                            <h2 id="Glowing-span-Ruby-span">Glowing <span>Ruby</span></h2>                            <p>Ruby did not need any help. Everybody knew that.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>            </div>            <h2 id="Roxy">                Roxy</h2>            <div class="grid">                <figure class="effect-roxy">                        <img src="/static/imghw/default1.png"  data-src="img/15.jpg"  class="lazy" alt="img15"/>                        <figcaption>                            <h2 id="Charming-span-Roxy-span">Charming <span>Roxy</span></h2>                            <p>Roxy was my best friend. She'd cross any border for me.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>                <figure class="effect-roxy">                        <img src="/static/imghw/default1.png"  data-src="img/1.jpg"  class="lazy" alt="img01"/>                        <figcaption>                            <h2 id="Charming-span-Roxy-span">Charming <span>Roxy</span></h2>                            <p>Roxy was my best friend. She'd cross any border for me.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>            </div>            <h2 id="Bubba">                Bubba</h2>            <div class="grid">                <figure class="effect-bubba">                        <img src="/static/imghw/default1.png"  data-src="img/2.jpg"  class="lazy" alt="img02"/>                        <figcaption>                            <h2 id="Fresh-span-Bubba-span">Fresh <span>Bubba</span></h2>                            <p>Bubba likes to appear out of thin air.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>                <figure class="effect-bubba">                        <img src="/static/imghw/default1.png"  data-src="img/16.jpg"  class="lazy" alt="img16"/>                        <figcaption>                            <h2 id="Fresh-span-Bubba-span">Fresh <span>Bubba</span></h2>                            <p>Bubba likes to appear out of thin air.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>            </div>            <h2 id="Romeo">                Romeo</h2>            <div class="grid">                <figure class="effect-romeo">                        <img src="/static/imghw/default1.png"  data-src="img/17.jpg"  class="lazy" alt="img17"/>                        <figcaption>                            <h2 id="Wild-span-Romeo-span">Wild <span>Romeo</span></h2>                            <p>Romeo never knows what he wants. He seemed to be very cross about something.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>                <figure class="effect-romeo">                        <img src="/static/imghw/default1.png"  data-src="img/18.jpg"  class="lazy" alt="img18"/>                        <figcaption>                            <h2 id="Wild-span-Romeo-span">Wild <span>Romeo</span></h2>                            <p>Romeo never knows what he wants. He seemed to be very cross about something.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>            </div>            <h2 id="Dexter">                Dexter</h2>            <div class="grid">                <figure class="effect-dexter">                        <img src="/static/imghw/default1.png"  data-src="img/19.jpg"  class="lazy" alt="img19"/>                        <figcaption>                            <h2 id="Strange-span-Dexter-span">Strange <span>Dexter</span></h2>                            <p>Dexter had his own strange way. You could watch him training ants.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>                <figure class="effect-dexter">                        <img src="/static/imghw/default1.png"  data-src="img/12.jpg"  class="lazy" alt="img12"/>                        <figcaption>                            <h2 id="Strange-span-Dexter-span">Strange <span>Dexter</span></h2>                            <p>Dexter had his own strange way. You could watch him training ants.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>            </div>            <h2 id="Sarah">                Sarah</h2>            <div class="grid">                <figure class="effect-sarah">                        <img src="/static/imghw/default1.png"  data-src="img/13.jpg"  class="lazy" alt="img13"/>                        <figcaption>                            <h2 id="Free-span-Sarah-span">Free <span>Sarah</span></h2>                            <p>Sarah likes to watch clouds. She's quite depressed.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>                <figure class="effect-sarah">                        <img src="/static/imghw/default1.png"  data-src="img/20.jpg"  class="lazy" alt="img20"/>                        <figcaption>                            <h2 id="Free-span-Sarah-span">Free <span>Sarah</span></h2>                            <p>Sarah likes to watch clouds. She's quite depressed.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>            </div>            <h2 id="Chico">                Chico</h2>            <div class="grid">                <figure class="effect-chico">                        <img src="/static/imghw/default1.png"  data-src="img/15.jpg"  class="lazy" alt="img15"/>                        <figcaption>                            <h2 id="Silly-span-Chico-span">Silly <span>Chico</span></h2>                            <p>Chico's main fear was missing the morning bus.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>                <figure class="effect-chico">                        <img src="/static/imghw/default1.png"  data-src="img/4.jpg"  class="lazy" alt="img04"/>                        <figcaption>                            <h2 id="Silly-span-Chico-span">Silly <span>Chico</span></h2>                            <p>Chico's main fear was missing the morning bus.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>            </div>            <h2 id="Milo">                Milo</h2>            <div class="grid">                <figure class="effect-milo">                        <img src="/static/imghw/default1.png"  data-src="img/11.jpg"  class="lazy" alt="img11"/>                        <figcaption>                            <h2 id="Faithful-span-Milo-span">Faithful <span>Milo</span></h2>                            <p>Milo went to the woods. He took a fun ride and never came back.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>                <figure class="effect-milo">                        <img src="/static/imghw/default1.png"  data-src="img/3.jpg"  class="lazy" alt="img03"/>                        <figcaption>                            <h2 id="Faithful-span-Milo-span">Faithful <span>Milo</span></h2>                            <p>Milo went to the woods. He took a fun ride and never came back.</p>                            <a href="#">View more</a>                        </figcaption>                                </figure>            </div>        </div>        <nav class="codrops-demos">                <a class="current-demo" href="index.html">Set 1</a>                <a href="index2.html">Set 2</a>            </nav>        <!-- Related demos -->    </div>
Copier après la connexion

via:http://www.w2bc.com/Article/19556

Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn

Outils d'IA chauds

Undresser.AI Undress

Undresser.AI Undress

Application basée sur l'IA pour créer des photos de nu réalistes

AI Clothes Remover

AI Clothes Remover

Outil d'IA en ligne pour supprimer les vêtements des photos.

Undress AI Tool

Undress AI Tool

Images de déshabillage gratuites

Clothoff.io

Clothoff.io

Dissolvant de vêtements AI

AI Hentai Generator

AI Hentai Generator

Générez AI Hentai gratuitement.

Article chaud

R.E.P.O. Crystals d'énergie expliqués et ce qu'ils font (cristal jaune)
1 Il y a quelques mois By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Meilleurs paramètres graphiques
1 Il y a quelques mois By 尊渡假赌尊渡假赌尊渡假赌
Will R.E.P.O. Vous avez un jeu croisé?
1 Il y a quelques mois By 尊渡假赌尊渡假赌尊渡假赌

Outils chauds

Bloc-notes++7.3.1

Bloc-notes++7.3.1

Éditeur de code facile à utiliser et gratuit

SublimeText3 version chinoise

SublimeText3 version chinoise

Version chinoise, très simple à utiliser

Envoyer Studio 13.0.1

Envoyer Studio 13.0.1

Puissant environnement de développement intégré PHP

Dreamweaver CS6

Dreamweaver CS6

Outils de développement Web visuel

SublimeText3 version Mac

SublimeText3 version Mac

Logiciel d'édition de code au niveau de Dieu (SublimeText3)

Quel est le but du & lt; Progress & gt; élément? Quel est le but du & lt; Progress & gt; élément? Mar 21, 2025 pm 12:34 PM

L'article traite du HTML & lt; Progress & GT; élément, son but, son style et ses différences par rapport au & lt; mètre & gt; élément. L'objectif principal est de l'utiliser & lt; Progress & gt; pour l'achèvement des tâches et & lt; mètre & gt; pour stati

Quel est le but du & lt; datalist & gt; élément? Quel est le but du & lt; datalist & gt; élément? Mar 21, 2025 pm 12:33 PM

L'article traite du HTML & lt; Datalist & GT; élément, qui améliore les formulaires en fournissant des suggestions de saisie semi-automatique, en améliorant l'expérience utilisateur et en réduisant les erreurs. COMMANDE COMPRES: 159

Quel est le but du & lt; mètre & gt; élément? Quel est le but du & lt; mètre & gt; élément? Mar 21, 2025 pm 12:35 PM

L'article traite du HTML & lt; mètre & gt; élément, utilisé pour afficher des valeurs scalaires ou fractionnaires dans une plage, et ses applications courantes dans le développement Web. Il différencie & lt; mètre & gt; De & lt; Progress & gt; et ex

Quelle est la balise Meta de la fenêtre? Pourquoi est-ce important pour une conception réactive? Quelle est la balise Meta de la fenêtre? Pourquoi est-ce important pour une conception réactive? Mar 20, 2025 pm 05:56 PM

L'article traite de la balise Meta de la fenêtre, essentielle pour la conception Web réactive sur les appareils mobiles. Il explique comment une utilisation appropriée garantit une mise à l'échelle optimale du contenu et une interaction utilisateur, tandis que la mauvaise utilisation peut entraîner des problèmes de conception et d'accessibilité.

Quel est le but du & lt; iframe & gt; étiqueter? Quelles sont les considérations de sécurité lorsque vous l'utilisez? Quel est le but du & lt; iframe & gt; étiqueter? Quelles sont les considérations de sécurité lorsque vous l'utilisez? Mar 20, 2025 pm 06:05 PM

L'article traite du & lt; iframe & gt; L'objectif de Tag dans l'intégration du contenu externe dans les pages Web, ses utilisations courantes, ses risques de sécurité et ses alternatives telles que les balises d'objet et les API.

HTML est-il facile à apprendre pour les débutants? HTML est-il facile à apprendre pour les débutants? Apr 07, 2025 am 12:11 AM

HTML convient aux débutants car il est simple et facile à apprendre et peut rapidement voir les résultats. 1) La courbe d'apprentissage de HTML est fluide et facile à démarrer. 2) Il suffit de maîtriser les balises de base pour commencer à créer des pages Web. 3) Flexibilité élevée et peut être utilisée en combinaison avec CSS et JavaScript. 4) Les ressources d'apprentissage riches et les outils modernes soutiennent le processus d'apprentissage.

Les rôles de HTML, CSS et JavaScript: responsabilités de base Les rôles de HTML, CSS et JavaScript: responsabilités de base Apr 08, 2025 pm 07:05 PM

HTML définit la structure Web, CSS est responsable du style et de la mise en page, et JavaScript donne une interaction dynamique. Les trois exercent leurs fonctions dans le développement Web et construisent conjointement un site Web coloré.

Quel est un exemple d'une balise de départ dans HTML? Quel est un exemple d'une balise de départ dans HTML? Apr 06, 2025 am 12:04 AM

Anexampleofastartingtaginhtmlis, qui abinginsaparagraph.startingtagsaressentialtinhtmlastheyinitiateelements, définit les éventualités, et la faculté de réduction des pages et de la construction de la création.

See all articles