30款css3实现的鼠标经过图片显示描述特效_html/css_WEB-ITnose
今天给大家分享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>
via:http://www.w2bc.com/Article/19556

Heiße KI -Werkzeuge

Undresser.AI Undress
KI-gestützte App zum Erstellen realistischer Aktfotos

AI Clothes Remover
Online-KI-Tool zum Entfernen von Kleidung aus Fotos.

Undress AI Tool
Ausziehbilder kostenlos

Clothoff.io
KI-Kleiderentferner

AI Hentai Generator
Erstellen Sie kostenlos Ai Hentai.

Heißer Artikel

Heiße Werkzeuge

Notepad++7.3.1
Einfach zu bedienender und kostenloser Code-Editor

SublimeText3 chinesische Version
Chinesische Version, sehr einfach zu bedienen

Senden Sie Studio 13.0.1
Leistungsstarke integrierte PHP-Entwicklungsumgebung

Dreamweaver CS6
Visuelle Webentwicklungstools

SublimeText3 Mac-Version
Codebearbeitungssoftware auf Gottesniveau (SublimeText3)

Heiße Themen



Der Artikel erörtert den HTML & lt; Progress & gt; Element, Absicht, Styling und Unterschiede vom & lt; Meter & gt; Element. Das Hauptaugenmerk liegt auf der Verwendung & lt; Fortschritt & gt; Für Aufgabenabschluss und & lt; Meter & gt; für stati

Der Artikel erörtert den HTML & lt; Datalist & gt; Element, das die Formulare verbessert, indem automatische Vorschläge bereitgestellt, die Benutzererfahrung verbessert und Fehler reduziert werden.Character Count: 159

Der Artikel erörtert das HTML & lt; Meter & gt; Element, verwendet zur Anzeige von Skalar- oder Bruchwerten innerhalb eines Bereichs und seine gemeinsamen Anwendungen in der Webentwicklung. Es differenziert & lt; Meter & gt; von & lt; Fortschritt & gt; und Ex

In dem Artikel wird das Ansichtsfenster -Meta -Tag erörtert, das für das reaktionsschnelle Webdesign auf mobilen Geräten unerlässlich ist. Es wird erläutert, wie die ordnungsgemäße Verwendung eine optimale Skalierung von Inhalten und Benutzerinteraktion gewährleistet, während Missbrauch zu Design- und Zugänglichkeitsproblemen führen kann.

Der Artikel erörtert das & lt; iframe & gt; Der Zweck von Tag, externe Inhalte in Webseiten, seine gemeinsamen Verwendungen, Sicherheitsrisiken und Alternativen wie Objekt -Tags und APIs einzubetten.

HTML ist für Anfänger geeignet, da es einfach und leicht zu lernen ist und schnell Ergebnisse sehen kann. 1) Die Lernkurve von HTML ist glatt und leicht zu beginnen. 2) Beherrschen Sie einfach die grundlegenden Tags, um Webseiten zu erstellen. 3) hohe Flexibilität und kann in Kombination mit CSS und JavaScript verwendet werden. 4) Reiche Lernressourcen und moderne Tools unterstützen den Lernprozess.

HTML definiert die Webstruktur, CSS ist für Stil und Layout verantwortlich, und JavaScript ergibt eine dynamische Interaktion. Die drei erfüllen ihre Aufgaben in der Webentwicklung und erstellen gemeinsam eine farbenfrohe Website.

AnexampleofaTartingTaginHtmlis, die, die starttagsaresesinginhtmlastheyinitiateElements, definetheirtypes, andarecrucialForstructuringwebpages und -konstruktionsthedoms.
