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="dj-image-hover"> <div class="view view-first"><a href="#"><img src="/image.jpg" /><a> <div class="mask"> <h2><a href="#">Title goes here</a> </h2> <p>Custom description goes here.</p> <a class="readmore" href="#">Read More</a></div> </div> </div>
Example 2
<div class="dj-image-hover"> <div class="view view-second"><a href="#"><img src="/image.jpg" /><a> <div class="mask"> <h2><a href="#">Title goes here</a> </h2> <p>Custom description goes here.</p> <a class="readmore" href="#">Read More</a></div> </div> </div>
Example 3
<div class="dj-image-hover"> <div class="view view-third"><a href="#"><img src="/image.jpg" /><a> <div class="mask"> <h2><a href="#">Title goes here</a> </h2> <p>Custom description goes here.</p> <a class="readmore" href="#">Read More</a></div> </div> </div>
Image Borders
<p class="border_img1"> <img src="/image.jpg" /> </p>
<img class="border_img2" src="/image.jpg" />
<img class="border_img3" src="/image.jpg" />
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 "jmbadge"
<p class="jmbadge" > Text goes here</p>
this is a paragraph with the class "jmcalendar"
<p class="jmcalendar" > Text goes here</p>
this is a paragraph with the class "jmchat"
<p class="jmchat" > Text goes here</p>
this is a paragraph with the class "jmcheck"
<p class="jmcheck" > Text goes here</p>
this is a paragraph with the class "jmcloud"
<p class="jmcloud" > Text goes here</p>
this is a paragraph with the class "jmdirection"
<p class="jmdirection" > Text goes here</p>
this is a paragraph with the class "jmdivide"
<p class="jmdivide" > Text goes here</p>
this is a paragraph with the class "jmerror"
<p class="jmerror" > Text goes here</p>
this is a paragraph with the class "jmfire"
<p class="jmfire" > Text goes here</p>
this is a paragraph with the class "jmflag"
<p class="jmflag" > Text goes here</p>
this is a paragraph with the class "jmheart"
<p class="jmheart" > Text goes here</p>
this is a paragraph with the class "jmhome"
<p class="jmhome" > Text goes here</p>
this is a paragraph with the class "jminfo"
<p class="jminfo" > Text goes here</p>
this is a paragraph with the class "jmlist"
<p class="jmlist" > Text goes here</p>
this is a paragraph with the class "jmmail"
<p class="jmmail" > Text goes here</p>
this is a paragraph with the class "jmpeople"
<p class="jmpeople" > Text goes here</p>
this is a paragraph with the class "jmstar"
<p class="jmstar" > Text goes here</p>
this is a paragraph with the class "jmstat"
<p class="jmstat" > Text goes here</p>
Glyphicon Font
<span class="icon-joomla"> </span>
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-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
This is a list with the class "jm-small"
Enter the class name to ul tag <ul class="jm-small">
- 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
Custom Module
<div class="jm-argument"> <p class="clearfix"> <img src="/images/modules/module1.png" alt="Renewable Energy" class="pull-left"/>Pellentesque adipiscing leo condimentum enim ullamcorper pretium. Aenean gravida, libero nec convallis ornare, massa odio. </p> <p class="jm-action"> <a class="readmore" href="/index.php/dj-catalog2">Read More...</a> </p> </div>
Pellentesque adipiscing leo condimentum enim ullamcorper pretium. Aenean gravida, libero nec convallis ornare, massa odio.
<div class="jm-argument"> <p class="clearfix"> <img src="/images/modules/module2.png" alt="Renewable Energy" class="pull-left"/>Pellentesque adipiscing leo condimentum enim ullamcorper pretium. Aenean gravida, libero nec convallis ornare, massa odio. </p> <p class="jm-action"> <a class="readmore" href="/index.php/dj-catalog2">Read More...</a> </p> </div>
Pellentesque adipiscing leo condimentum enim ullamcorper pretium. Aenean gravida, libero nec convallis ornare, massa odio.
<div class="jm-argument"> <p class="clearfix"> <img src="/images/modules/module3.png" alt="Renewable Energy" class="pull-left"/>Pellentesque adipiscing leo condimentum enim ullamcorper pretium. Aenean gravida, libero nec convallis ornare, massa odio. </p> <p class="jm-action"> <a class="readmore" href="/index.php/dj-catalog2">Read More...</a> </p> </div>
Pellentesque adipiscing leo condimentum enim ullamcorper pretium. Aenean gravida, libero nec convallis ornare, massa odio.
Social icons with CSS3 effect
<p class="jm-icons"><a href="#"><span class="jm-facebook"> </span></a> <a href="#"><span class="jm-twitter"> </span></a> <a href="#"><span class="jm-google"> </span></a> <a href="#"><span class="jm-youtube"> </span></a> <a href="#"><span class="jm-rss"> </span></a></p>
Color font
<span class="jm-color-font">This is a color font.</span>
This is a color font.
Read More Button
This is a read more link with the class "readmore"
Enter the class name to a tag <a class="readmore" />
This is a read more link with the class "readmore"
Enter the class name to a tag <a class="readmore-2" />
Offcanvas button (top-menu-nav)
<p><a class="toggle-nav menu"><span class="icon-align-justify"></span></a></p>
Pricing table
<div class="clearfix"> <table class="pricing" style="width: 33%;"> <thead> <tr><th colspan="2">Car Rental</th></tr> </thead> <tbody> <tr> <td class="item">Lorem ipsum dolor</td> <td class="price">$39</td> </tr> <tr> <td class="item">Donec lobortis quam</td> <td class="price">$45</td> </tr> <tr> <td class="item">Pellentesque habitant</td> <td class="price">$68</td> </tr> <tr> <td class="item">In a facilisis augue</td> <td class="price">$28</td> </tr> <tr> <td class="item">Aenean et placerat erat</td> <td class="price">$55</td> </tr> <tr> <td class="item">Nam neque massa</td> <td class="price">$78</td> </tr> </tbody> </table> <table class="pricing" style="width: 33%;"> <thead> <tr><th colspan="2">Road Assistance</th></tr> </thead> <tbody> <tr> <td class="item">Lorem ipsum dolor</td> <td class="price">$39</td> </tr> <tr> <td class="item">Donec lobortis quam</td> <td class="price">$45</td> </tr> <tr> <td class="item">Pellentesque habitant</td> <td class="price">$68</td> </tr> <tr> <td class="item">In a facilisis augue</td> <td class="price">$28</td> </tr> <tr> <td class="item">Aenean et placerat erat</td> <td class="price">$55</td> </tr> <tr> <td class="item">Nam neque massa</td> <td class="price">$78</td> </tr> </tbody> </table> <table class="pricing" style="width: 33%;"> <thead> <tr><th colspan="2">Repair & Care</th></tr> </thead> <tbody> <tr> <td class="item">Lorem ipsum dolor</td> <td class="price">$39</td> </tr> <tr> <td class="item">Donec lobortis quam</td> <td class="price">$45</td> </tr> <tr> <td class="item">Pellentesque habitant</td> <td class="price">$68</td> </tr> <tr> <td class="item">In a facilisis augue</td> <td class="price">$28</td> </tr> <tr> <td class="item">Aenean et placerat erat</td> <td class="price">$55</td> </tr> <tr> <td class="item">Nam neque massa</td> <td class="price">$78</td> </tr> </tbody> </table> </div>
Note: You can set width of the table with css style 'width: XX%;'
Car Rental | |
---|---|
Lorem ipsum dolor | $39 |
Donec lobortis quam | $45 |
Pellentesque habitant | $68 |
In a facilisis augue | $28 |
Aenean et placerat erat | $55 |
Nam neque massa | $78 |
Road Assistance | |
---|---|
Lorem ipsum dolor | $39 |
Donec lobortis quam | $45 |
Pellentesque habitant | $68 |
In a facilisis augue | $28 |
Aenean et placerat erat | $55 |
Nam neque massa | $78 |
Repair & Care | |
---|---|
Lorem ipsum dolor | $39 |
Donec lobortis quam | $45 |
Pellentesque habitant | $68 |
In a facilisis augue | $28 |
Aenean et placerat erat | $55 |
Nam neque massa | $78 |