-
Détails
-
Écrit par Elie Chancelin
-
Catégorie : Uncategorised
Animated hover CSS3 effects for images
This code allows you to display an image and its description with animated CSS3 effect.
Note: If you would like to add your own text into the image description, just modify the code below or edit an existing code in the custom module of the demo template.
Example 1
<div class="ch-item ch-first" style="background: url('/images/modules/animated.jpg') no-repeat;"> <div class="ch-info"> <div class="ch-container"> <div class="ch-outer"> <div class="ch-inner"> <p><a href="#">CHECK OUR<br /><span class="smaller">NEW OFFER!</span></a></p> </div> </div> </div> </div> </div>
Example 2
<div class="ch-item ch-second" style="background: url('/images/modules/animated.jpg') no-repeat;"> <div class="ch-info-wrap"> <div class="ch-info"> <div class="ch-info-front"> </div> <div class="ch-info-back"> <div class="ch-container"> <div class="ch-outer"> <div class="ch-inner"> <p><a href="#">CHECK OUR<br /><span class="smaller">NEW OFFER!</span></a></p> </div> </div> </div> </div> </div> </div> </div>
Example 3
<div class="ch-item ch-third"> <div class="ch-info"> <div class="ch-info-front" style="background: url('/images/modules/animated.jpg') no-repeat;"> </div> <div class="ch-info-back"> <div class="ch-container"> <div class="ch-outer"> <div class="ch-inner"> <p><a href="#">CHECK OUR<br /><span class="smaller">NEW OFFER!</span></a></p> </div> </div> </div> </div> </div> </div>
Module Icons
<div class="jm-custom-mod"><div class="jm-mod-icon jm-mod1"> <a href="#"> <span class="first"> </span><span class="second"> </span> </a> </div>
<div class="jm-mod-title">Title Goes Here</div>
<div class="jm-mod-desc">Lorem ipsum dolor sit amet consectetur adipisicing elit sed do.</div>
</div>
Title Goes Here
Lorem ipsum dolor sit amet consectetur adipisicing elit sed do.
<div class="jm-custom-mod"><div class="jm-mod-icon jm-mod2"> <a href="#"> <span class="first"> </span><span class="second"> </span> </a> </div>
<div class="jm-mod-title">Title Goes Here</div>
<div class="jm-mod-desc">Lorem ipsum dolor sit amet consectetur adipisicing elit sed do.</div>
</div>
Title Goes Here
Lorem ipsum dolor sit amet consectetur adipisicing elit sed do.
<div class="jm-custom-mod"><div class="jm-mod-icon jm-mod3"> <a href="#"> <span class="first"> </span><span class="second"> </span> </a> </div>
<div class="jm-mod-title">Title Goes Here</div>
<div class="jm-mod-desc">Lorem ipsum dolor sit amet consectetur adipisicing elit sed do.</div>
</div>
Title Goes Here
Lorem ipsum dolor sit amet consectetur adipisicing elit sed do.
<div class="jm-custom-mod"><div class="jm-mod-icon jm-mod4"> <a href="#"> <span class="first"> </span><span class="second"> </span> </a> </div>
<div class="jm-mod-title">Title Goes Here</div>
<div class="jm-mod-desc">Lorem ipsum dolor sit amet consectetur adipisicing elit sed do.</div>
</div>
Title Goes Here
Lorem ipsum dolor sit amet consectetur adipisicing elit sed do.
Buttons
<a class="a-button first" href="#"><img src="/images/modules/sport.png" border="0" alt="Sport" /> Sport <span class="a-btn-arrow"> </span></a>
<a class="a-button second" href="#"><img src="/images/modules/painting.png" border="0" alt="Painting" /> Painting <span class="a-btn-arrow"> </span></a>
<a class="a-button third" href="#"><img src="/images/modules/toys.png" border="0" alt="Toys" /> Toys <span class="a-btn-arrow"> </span></a>
<a class="a-button fourth" href="#"><img src="/images/modules/books.png" border="0" alt="Books" /> Books <span class="a-btn-arrow"> </span></a>
Video
<div class="view view-video"><img src="/images/modules/video.jpg" border="0" alt="Video" /> <div class="mask"> <span class="space"> </span> <a class="modal readmore" href="/https://www.youtube.com/embed/Umqu9poqIgo" rel="{handler: 'iframe', size: {x: 800, y: 600}}">Watch the Video</a></div>
Image Borders
<img class="border_img1" src="/image.jpg" />
<img class="border_img2" src="/image.jpg" border="0" />
<img class="border_img3" src="/image.jpg" />
Testimonials
<div class="quote-cloud"> <p>Text goes here</p> </div> <div class="jm-testimonial"> <div class="jm-testimonial-name"> <p class="font-module" style="font-size: 18px; line-height: 1.5em; font-weight: 300;">John Doe</p> </div> </div>
Headings
This is Heading One (h1)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis viverra leo sed turpis convallis sit amet condimentum diam vehicula. Morbi suscipit nisl odio, nec sodales tellus. Aenean quis sapien suscipit mauris convallis porta lacinia bibendum felis.
This is Heading Two (h2)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis viverra leo sed turpis convallis sit amet condimentum diam vehicula. Morbi suscipit nisl odio, nec sodales tellus. Aenean quis sapien suscipit mauris convallis porta lacinia bibendum felis.
This is Heading Three (h3)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis viverra leo sed turpis convallis sit amet condimentum diam vehicula. Morbi suscipit nisl odio, nec sodales tellus. Aenean quis sapien suscipit mauris convallis porta lacinia bibendum felis.
This is Heading Four (h4)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis viverra leo sed turpis convallis sit amet condimentum diam vehicula. Morbi suscipit nisl odio, nec sodales tellus. Aenean quis sapien suscipit mauris convallis porta lacinia bibendum felis.
This is Heading Five (h5)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis viverra leo sed turpis convallis sit amet condimentum diam vehicula. Morbi suscipit nisl odio, nec sodales tellus. Aenean quis sapien suscipit mauris convallis porta lacinia bibendum felis.
This is Heading Six (h6)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis viverra leo sed turpis convallis sit amet condimentum diam vehicula. Morbi suscipit nisl odio, nec sodales tellus. Aenean quis sapien suscipit mauris convallis porta lacinia bibendum felis.
Numered blocks
<p class="jm-block"><span class="jm">01</span>Text goes here</p>
01Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis viverra leo sed turpis convallis sit amet condimentum diam vehicula. Morbi suscipit nisl odio, nec sodales tellus. Aenean quis sapien suscipit mauris.
02Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis viverra leo sed turpis convallis sit amet condimentum diam vehicula. Morbi suscipit nisl odio, nec sodales tellus. Aenean quis sapien suscipit mauris.
03Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis viverra leo sed turpis convallis sit amet condimentum diam vehicula. Morbi suscipit nisl odio, nec sodales tellus. Aenean quis sapien suscipit mauris.
<p class="jm-block second"><span class="jm">a</span>Text goes here</p>
aLorem ipsum dolor sit amet, consectetur adipiscing elit. Duis viverra leo sed turpis convallis sit amet condimentum diam vehicula. Morbi suscipit nisl odio, nec sodales tellus. Aenean quis sapien suscipit mauris.
bLorem ipsum dolor sit amet, consectetur adipiscing elit. Duis viverra leo sed turpis convallis sit amet condimentum diam vehicula. Morbi suscipit nisl odio, nec sodales tellus. Aenean quis sapien suscipit mauris.
cLorem ipsum dolor sit amet, consectetur adipiscing elit. Duis viverra leo sed turpis convallis sit amet condimentum diam vehicula. Morbi suscipit nisl odio, nec sodales tellus. Aenean quis sapien suscipit mauris.
Colored blocks
this is a paragraph with the class "blue"
<p class="blue" > Text goes here</p>
this is a paragraph with the class "green"
<p class="green" > Text goes here</p>
this is a paragraph with the class "red"
<p class="red" > Text goes here</p>
this is a paragraph with the class "bluefill"
<p class="bluefill" > Text goes here</p>
this is a paragraph with the class "greenfill"
<p class="greenfill" > Text goes here</p>
this is a paragraph with the class "redfill"
<p class="redfill" > Text goes here</p>
Quote blocks
this is a paragraph with the class "quote-left"
<p class="quote-left" > Text goes here</p>
this is a paragraph with the class "quote-right"
<p class="quote-right" > Text goes here</p>
Icon blocks
this is a paragraph with the class "badges"
<p class="badges" > Text goes here</p>
this is a paragraph with the class "calendar"
<p class="calendar" > Text goes here</p>
this is a paragraph with the class "chat"
<p class="chat" > Text goes here</p>
this is a paragraph with the class "check"
<p class="check" > Text goes here</p>
this is a paragraph with the class "cloud"
<p class="cloud" > Text goes here</p>
this is a paragraph with the class "direction"
<p class="direction" > Text goes here</p>
this is a paragraph with the class "divide"
<p class="divide" > Text goes here</p>
this is a paragraph with the class "error"
<p class="error" > Text goes here</p>
this is a paragraph with the class "fire"
<p class="fire" > Text goes here</p>
this is a paragraph with the class "flag"
<p class="flag" > Text goes here</p>
this is a paragraph with the class "heart"
<p class="heart" > Text goes here</p>
this is a paragraph with the class "home"
<p class="home" > Text goes here</p>
this is a paragraph with the class "info"
<p class="info" > Text goes here</p>
this is a paragraph with the class "list"
<p class="list" > Text goes here</p>
this is a paragraph with the class "mail"
<p class="mail" > Text goes here</p>
this is a paragraph with the class "people"
<p class="people" > Text goes here</p>
this is a paragraph with the class "star"
<p class="star" > Text goes here</p>
this is a paragraph with the class "stat"
<p class="stat" > Text goes here</p>
Unordered lists
Default list
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
This is a list with the class "jm-color"
Enter the class name to ul tag <ul class="jm-color">
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
This is a list with the class "jm-gray"
Enter the class name to ul tag <ul class="jm-gray">
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
Ordered lists
Default list
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
This is a list with the class "jm-roman"
Enter the class name to ol tag <ol class="jm-roman">
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
This is a list with the class "jm-alpha"
Enter the class name to ol tag <ol class="jm-alpha">
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
- Duis tincidunt nunc sit amet ipsum
Social icons
<p class="jm-icons">
<a class="jm-myspace" href="#"> </a>
<a class="jm-flickr" href="#"> </a>
<a class="jm-rss" href="#"> </a>
<a class="jm-twitter" href="#"> </a>
<a class="jm-facebook" href="#"> </a></p>
Read More Button
This is a read more link with the class "readmore"
Enter the class name to a tag <a class="readmore" />
Read more
<a href="#"><span class="custom-readmore"> </span></a>