Skip to main content

4 Popular CSS3 Image captioning method

4 Popular CSS3 Image captioning method
The default image captioning method we usually use is just more like showing the name of images. That captioning method is bit simple and awkward ways of representing caption. So here I am presenting 4 trendy image caption method using CSS3 effects, (not jQuery - JavaScript). These image caption methods will show your image caption on mouse hover with
  • Curtain, Fade in out, Pop under, Slide from left effect. 
  • All effect got maximum support with any web browser,
  • Easily customizable via CSS editing
Let’s see how these effects look like and how to use ‘em on your website project.

Curtain style CSS3 image caption

Curtain style CSS3 image caption

HTML

<!--crawlist.net effect starts-->
<div class="ks-curtain">
<img src="Image link">
<span class="ks-caption the-caption">
<p>Your Text</p>
</span>
</div>
<!--crawlist.net effect ends-->


CSS

/*crawlist.net css starts*/
.ks-curtain {
border: 5px solid #fff;
cursor: pointer;
height: 200px;
float: left;
margin: 5px;
position: relative;
overflow: hidden;
width: 200px;
-webkit-box-shadow: 1px 1px 1px 1px #ccc;
-moz-box-shadow: 1px 1px 1px 1px #ccc;
box-shadow: 1px 1px 1px 1px #ccc;
}
.ks-curtain img {
position: absolute;
left: 0;
-webkit-transition: all 300ms ease-out;
-moz-transition: all 300ms ease-out;
-o-transition: all 300ms ease-out;
-ms-transition: all 300ms ease-out;
transition: all 300ms ease-out;
}
.ks-curtain .ks-caption {
background-color: rgba(0,0,0,0.8);
position: absolute;
color: #fff;
z-index: 100;
-webkit-transition: all 300ms ease-out;
-moz-transition: all 300ms ease-out;
-o-transition: all 300ms ease-out;
-ms-transition: all 300ms ease-out;
transition: all 300ms ease-out;
left: 0;
}
.ks-curtain .the-caption
{
width: 170px;
height: 170px;
top: -200px;
text-align: left;
padding: 15px;
font:Arial;
font-size:15px;
}
.ks-curtain:hover .the-caption
{
-moz-transform: translateY(100%);
-o-transform: translateY(100%);
-webkit-transform: translateY(100%);
transform: translateY(100%);
}
/*crawlist.net css ends*/


Fade in out style  CSS3 image caption

Fade in out style  CSS3 image caption

HTML

<!--crawlist.net effect starts-->
<div class="ks-fade">
<img src="Image Link">
<span class="captiono ocaption">
<p>Your Text</p>
</span>
</div>
<!--crawlist.net effect ends-->


CSS

/*crawlist.net css starts*/
.ks-fade {
border: 5px solid #fff;
cursor: pointer;
height: 200px;
float: left;
margin: 5px;
position: relative;
overflow: hidden;
width: 200px;
-webkit-box-shadow: 1px 1px 1px 1px #ccc;
-moz-box-shadow: 1px 1px 1px 1px #ccc;
box-shadow: 1px 1px 1px 1px #ccc;
}
.ks-fade img {
position: absolute;
left: 0;
-webkit-transition: all 300ms ease-out;
-moz-transition: all 300ms ease-out;
-o-transition: all 300ms ease-out;
-ms-transition: all 300ms ease-out;
transition: all 300ms ease-out;
}
.ks-fade .captiono {
background-color: rgba(0,0,0,0.8);
position: absolute;
color: #fff;
z-index: 100;
-webkit-transition: all 300ms ease-out;
-moz-transition: all 300ms ease-out;
-o-transition: all 300ms ease-out;
-ms-transition: all 300ms ease-out;
transition: all 300ms ease-out;
left: 0;
}
.ks-fade .ocaption
{
opacity: 0;
width: 170px;
height: 170px;
text-align: left;
padding: 15px;
font:Arial;
font-size:15px;
}
.ks-fade:hover .ocaption
{
opacity: 1;
}
/*crawlist.net css ends*/


Pop under style CSS3 image caption

Pop under style CSS3 image caption

HTML


<!--crawlist.net effect starts-->  
<div class="ks-under">
<img src="Image link">
<span class="captio kscaption">
<p>Your Text</p>
</span>
</div>
<!--crawlist.net effect ends-->


CSS

/*crawlist.net css starts*/
.ks-under {
border: 5px solid #fff;
cursor: pointer;
height: 200px;
float: left;
margin: 5px;
position: relative;
overflow: hidden;
width: 200px;
-webkit-box-shadow: 1px 1px 1px 1px #ccc;
-moz-box-shadow: 1px 1px 1px 1px #ccc;
box-shadow: 1px 1px 1px 1px #ccc;
}
.ks-under img {
position: absolute;
left: 0;
-webkit-transition: all 300ms ease-out;
-moz-transition: all 300ms ease-out;
-o-transition: all 300ms ease-out;
-ms-transition: all 300ms ease-out;
transition: all 300ms ease-out;
}
.ks-under .captio {
background-color: rgba(0,0,0,0.8);
position: absolute;
color: #fff;
z-index: 100;
-webkit-transition: all 300ms ease-out;
-moz-transition: all 300ms ease-out;
-o-transition: all 300ms ease-out;
-ms-transition: all 300ms ease-out;
transition: all 300ms ease-out;
left: 0;
}
.ks-under .kscaption
{
height:53px;
width: 200px;
display: block;
bottom: -56px;
text-align: center;
font:Arial;
font-size:15px;
}
.ks-under:hover .kscaption
{
-moz-transform: translateY(-100%);
-o-transform: translateY(-100%);
-webkit-transform: translateY(-100%);
transform: translateY(-100%);
}
/*crawlist.net css ends*/


Slide from left style CSS3 image caption

Slide from left style CSS3 image caption

HTML

<!--crawlist.net effect starts-->   
<div class="ks-lefty">
<img src="Image Link">
<span class="capion aption">
<p>Your Text</p>
</span>
</div>
<!--crawlist.net effect ends-->


CSS

/*crawlist.net css starts*/
.ks-lefty {
border: 5px solid #fff;
cursor: pointer;
height: 200px;
float: left;
margin: 5px;
position: relative;
overflow: hidden;
width: 200px;
-webkit-box-shadow: 1px 1px 1px 1px #ccc;
-moz-box-shadow: 1px 1px 1px 1px #ccc;
box-shadow: 1px 1px 1px 1px #ccc;
}
.ks-lefty img {
position: absolute;
left: 0;
-webkit-transition: all 300ms ease-out;
-moz-transition: all 300ms ease-out;
-o-transition: all 300ms ease-out;
-ms-transition: all 300ms ease-out;
transition: all 300ms ease-out;
}
.ks-lefty .capion {
background-color: rgba(0,0,0,0.8);
position: absolute;
color: #fff;
z-index: 100;
-webkit-transition: all 300ms ease-out;
-moz-transition: all 300ms ease-out;
-o-transition: all 300ms ease-out;
-ms-transition: all 300ms ease-out;
transition: all 300ms ease-out;
left: 0;
}
.ks-lefty .aption
{
width: 170px;
height: 170px;
text-align: left;
padding: 15px;
left: 200px;
font:Arial;
font-size:15px;
}
.ks-lefty:hover .aption
{
background-color: rgba(0,0,0,1)!important;
-moz-transform: translateX(-100%);
-o-transform: translateX(-100%);
-webkit-transform: translateX(-100%);
opacity: 1;
transform: translateX(-100%);
}
/*crawlist.net css ends*/


How to add on your website project 
  • First copy and paste the CSS part on your site’s Stylesheet.css
  • Whether on your website you want to show this image caption’s there copy and paste the HTML part.
How to configure
  • At HTML part’s ‘Image link’ paste your image link, on which image you want to show caption Into <p> and </p> tag write your caption
  • As your image’s height and width delete default code and place your image height and width. And also fix the caption’s height width too if effect does not showing right. 

Compatibility
These effects are optimized for maximum fallback support with major web browser. Any browser with CSS3 Compatibility will show these effect easily.

Any feedback leave with comment, soon I’ll publish more image caption method so stay subscribed.

Comments

Popular posts from this blog

Easily Get 50000 free Backlink for your website

Backlinks are heart of SEO. Without backlink your website will not get a good position in search result and won't get indexed quickly. As you already knew there is two ways you can get backlinks one is Natural linking and another is paid or automated linking. Natural linking is worth to doing and it takes a while but if you don’t have enough time, running a professional business website and need to reach a destination quickly, automated backlinking going to be your last choice. To make automated backlinks you will need to buy paid link package or if you just don’t willing to buy links right now let’s start with free. Here such kind of free backlink maker, free backlink generator listed. And definitively you have a chance to create 50000+ free backlink for your website. But you should also remember Google doesn't like it, I mean Google doesn't recommend it at all. Read on-

+ 50000 free backlink for your websiteIndex kings
Rapid website submitter index kings it will submit y…

Where to paste Google Analytics Code in Blogger

Fortunately blogger has default analytics report on its dashboard. But the visitor data reported in dashboard that is not sufficient. So adding Google analytic code in Blogger manually is extremely useful to do visitor tracking (where do visitors coming form, their behavior on your website and on specific content, SEO analysis, website performance look up, AdSense tracking, future reference etc).
But the question is where to paste Google analytic code for maximum result. The basic rule of adding Google analytic code in website is copy and pastes the script code into every webpage you want to track and basically maintaining this theory this is quite impossible to do.
So in this narrow case there is a quite easy way you can use, to paste Google analytic code in blogger read on -

Where to paste Google Analytics code in Blogger
Step 1: Go to Google analytic and log in

Step 2: Set up an account by putting website name, address, reporting time

Step 3: Now you will get a Tracking Id and Trackin…

How to Optimize Website to Load Faster

In the matter of visiting a website or blogsite nobody likes a tortoise, everybody likes rabbit. A slow loading website bothers everyone and you will lose your visitor for forever, even if there you putted a lots of good content. Again a fast loading website is a great factor for having more visitors and pageviews, friendlier to SEO (Google likes and recommends Speed). Overall making a good impression about your content to visitor you have to make your website load faster.Optimizing and taking care of some fact is enough to make a website load faster. Things focused on here are using good host, removing unnecessary code, scripts even widget, gadgets, optimizing for image, fast caching. Also if you using wordpress how to optimize wordpress website to load faster explained here. Keep on reading the minimax explanation-
How to Optimize Website to Load Faster
Optimizing CodesCompress CSSOptimizing CSS codes of your website’s is important. Unnecessary CSS code makes site sloth. So remove u…

13 Best Forum CMS/Script to use

Forum or bulletin board is the best way to start discussion with your website or product's user, clients or Just chilling out with a phenomenon, problem or solutions. To create a forum website you need to make a platform by coding, Or you can just use ready-made forum CMS (content management system). Here I've made a list for best forum CMS (platform) or bulletin board script/software. All forum cms gathered here are easy to use and management plus high end performance and satisfaction. Just read on the list, click on the names to get more information, download and use.

13 Best Forum CMS/Script to use

V Bulletin (Paid)
The best professional and business forum cms/software. You can find it anywhere all over the internet. They got customer like Nasa, Sony, Stream

Satisfaction:     Real-time integration    Extensive personalization (lot of third party themes)    Content generation    Mobile optimize    Easy management ability to launch site under 15 minutes    Integrated Seo    Bui…

7 best CMS/script for building Social networking website

The demands of social networking and community sites are increasing rapidly. For building a community/networking site you need to code it from scratch. But if you are not a pro coder or you don’t have a nerd team, building a social networking website is completely impossible. So as non coder to build Social networking website you can use CMS (content management system - readymade platform what helps you to build site) also known as platform software or script. With social networking CMS you will be able to-
Build a Social networking website in a short time It can be use for personal or commercial purposeCustomizable, so you can modify any part of site as you wantSome of these CMS are open source (completely free and you can modify/upgrade the source code) and some of paid. Let’s see what content management systems I talking about for building Social networking website.

7 best CMS/script for building Social networking websiteDolphin Dolphin is the world's most advanced community CMS…