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

핫 AI 도구

Undresser.AI Undress
사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover
사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool
무료로 이미지를 벗다

Clothoff.io
AI 옷 제거제

AI Hentai Generator
AI Hentai를 무료로 생성하십시오.

인기 기사

뜨거운 도구

메모장++7.3.1
사용하기 쉬운 무료 코드 편집기

SublimeText3 중국어 버전
중국어 버전, 사용하기 매우 쉽습니다.

스튜디오 13.0.1 보내기
강력한 PHP 통합 개발 환경

드림위버 CS6
시각적 웹 개발 도구

SublimeText3 Mac 버전
신 수준의 코드 편집 소프트웨어(SublimeText3)

뜨거운 주제











이 기사는 HTML & lt; Progress & Gt에 대해 설명합니다. 요소, 그 목적, 스타일 및 & lt; meter & gt의 차이; 요소. 주요 초점은 & lt; progress & gt; 작업 완료 및 & lt; meter & gt; Stati의 경우

이 기사는 HTML & LT; Datalist & GT에 대해 논의합니다. 자동 완성 제안을 제공하고, 사용자 경험을 향상시키고, 오류를 줄임으로써 양식을 향상시키는 요소. 문자 수 : 159

이 기사는 HTML & lt; meter & gt에 대해 설명합니다. 범위 내에 스칼라 또는 분수 값을 표시하는 데 사용되는 요소 및 웹 개발의 일반적인 응용 프로그램. & lt; meter & gt; & lt; Progress & Gt; 그리고 Ex

이 기사는 모바일 장치의 반응 형 웹 디자인에 필수적인 Viewport Meta Tag에 대해 설명합니다. 적절한 사용이 최적의 컨텐츠 스케일링 및 사용자 상호 작용을 보장하는 방법을 설명하는 반면, 오용은 설계 및 접근성 문제로 이어질 수 있습니다.

이 기사는 & lt; iframe & gt; 외부 컨텐츠를 웹 페이지, 공통 용도, 보안 위험 및 객체 태그 및 API와 같은 대안을 포함시키는 태그의 목적.

HTML은 간단하고 배우기 쉽고 결과를 빠르게 볼 수 있기 때문에 초보자에게 적합합니다. 1) HTML의 학습 곡선은 매끄럽고 시작하기 쉽습니다. 2) 기본 태그를 마스터하여 웹 페이지를 만들기 시작하십시오. 3) 유연성이 높고 CSS 및 JavaScript와 함께 사용할 수 있습니다. 4) 풍부한 학습 리소스와 현대 도구는 학습 과정을 지원합니다.

HTML은 웹 구조를 정의하고 CSS는 스타일과 레이아웃을 담당하며 JavaScript는 동적 상호 작용을 제공합니다. 세 사람은 웹 개발에서 의무를 수행하고 화려한 웹 사이트를 공동으로 구축합니다.

anexampleStartingtaginhtmlis, whithbeginsaparagraph.startingtagsareessentialinhtmlastheyinitiate rements, definetheirtypes, andarecrucialforstructurituringwebpages 및 smanstlingthedom.
