


30 CSS3-implemented mouse passing picture display description effects_html/css_WEB-ITnose
Today I will share with you 30 CSS3-implemented special effects for displaying descriptions when the mouse passes over pictures. When the mouse passes over these pictures, the descriptions of the pictures will be displayed in a very dazzling way. For best results, please browse in modern browsers such as IE10, Chrome, Firefox and Safari.
Online preview Source code download
The implemented code.
html code:
<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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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/imghwm/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

The future of HTML will develop in a more semantic, functional and modular direction. 1) Semanticization will make the tag describe the content more clearly, improving SEO and barrier-free access. 2) Functionalization will introduce new elements and attributes to meet user needs. 3) Modularity will support component development and improve code reusability.

HTMLattributesarecrucialinwebdevelopmentforcontrollingbehavior,appearance,andfunctionality.Theyenhanceinteractivity,accessibility,andSEO.Forexample,thesrcattributeintagsimpactsSEO,whileonclickintagsaddsinteractivity.Touseattributeseffectively:1)Usese

The alt attribute is an important part of the tag in HTML and is used to provide alternative text for images. 1. When the image cannot be loaded, the text in the alt attribute will be displayed to improve the user experience. 2. Screen readers use the alt attribute to help visually impaired users understand the content of the picture. 3. Search engines index text in the alt attribute to improve the SEO ranking of web pages.

The roles of HTML, CSS and JavaScript in web development are: 1. HTML is used to build web page structure; 2. CSS is used to beautify the appearance of web pages; 3. JavaScript is used to achieve dynamic interaction. Through tags, styles and scripts, these three together build the core functions of modern web pages.

Setting the lang attributes of a tag is a key step in optimizing web accessibility and SEO. 1) Set the lang attribute in the tag, such as. 2) In multilingual content, set lang attributes for different language parts, such as. 3) Use language codes that comply with ISO639-1 standards, such as "en", "fr", "zh", etc. Correctly setting the lang attribute can improve the accessibility of web pages and search engine rankings.

HTMLattributesareessentialforenhancingwebelements'functionalityandappearance.Theyaddinformationtodefinebehavior,appearance,andinteraction,makingwebsitesinteractive,responsive,andvisuallyappealing.Attributeslikesrc,href,class,type,anddisabledtransform

TocreatealistinHTML,useforunorderedlistsandfororderedlists:1)Forunorderedlists,wrapitemsinanduseforeachitem,renderingasabulletedlist.2)Fororderedlists,useandfornumberedlists,customizablewiththetypeattributefordifferentnumberingstyles.

HTML is used to build websites with clear structure. 1) Use tags such as, and define the website structure. 2) Examples show the structure of blogs and e-commerce websites. 3) Avoid common mistakes such as incorrect label nesting. 4) Optimize performance by reducing HTTP requests and using semantic tags.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool
