• loading...

How To Create Polaroid Effect On Images With Ribbon Frame


- No comments
We have seen a CSS image gallery but this time we are coming with more advanced features. We will give Polaroid effect to your images and create a stunning image gallery. This is built in html and css. We have done that every thing which makes your gallery look awesome. This Polaroid effect can be given to any set of images.
Polaroid Effect On Images With Ribbon Frame

You can see in the demo how beautiful your image set can look. It is a much better way than randomly uploading images which looks ugly and does not give a professional look to your blog.  You just have to copy the code and paste it where you want this galley to appear which will create a Polaroid effect on your images.
You can edit the caption and can change the effects as well if you know a little about CSS.

You can use this in two ways.

- Inside the post to give your images a new look.
- Use it as a gadget in the sidebar.

How to add this Polaroid effect?
First, go to blogger.
Copy the HTML code and paste it inside the post. (Go to html mode then compose mode).
Then copy the CSS code.
imagemania, imagecaption {
display: block;
}
#imagoroid{
width:100%;
overflow:hidden;
padding:20px 10px;
}
#imagoroid imagemania{
float:left;
position:relative;
width:200px;
margin:10px 20px;
padding: 6px 8px 10px 8px;
-webkit-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
-moz-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
background: #eee6d8;
background: -webkit-linear-gradient(top, #ede1c9, #fef8e2 20%, #f2ebde 60%);
background: -moz-linear-gradient(top, #ede1c9, #fef8e2 20%, #f2ebde 60%);
background: -o-linear-gradient(top, #ede1c9, #fef8e2 20%, #f2ebde 60%);
background: -ms-linear-gradient(top, #ede1c9, #fef8e2 20%, #f2ebde 60%);
background: linear-gradient(top, #ede1c9, #fef8e2 20%, #f2ebde 60%);
-webkit-transform:rotate(-1deg);
-moz-transform: rotate(-1deg);
-o-transform: rotate(-1deg);
-ms-transform: rotate(-1deg);
transform: rotate(-1deg);
-webkit-backface-visibility:hidden; /*prevent rotated text being jagged in Chrome and Safari*/
}
#poaroid imagemania:nth-child(even) {
-webkit-transform:rotate(2deg);
-moz-transform: rotate(2deg);
-o-transform: rotate(2deg);
-ms-transform: rotate(2deg);
transform: rotate(2deg);
-webkit-backface-visibility:hidden; /*prevent rotated text being jagged in Chrome and Safari*/
-webkit-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
-moz-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75);
box-shadow: -4px 4px 8px -4px rgba(0, 0, 0, .75);
}
#imagoroid imagemania:before {
content: '';
display: block;
position: absolute;
left:5px;
top: -15px;
width: 75px;
height: 25px;
background-color: rgba(222,220,198,0.7);
-webkit-transform: rotate(-12deg);
-moz-transform: rotate(-12deg);
-o-transform: rotate(-12deg);
-ms-transform: rotate(-12deg);
}
#imagoroid imagemania:nth-child(even):before {
left:150px;
top: -15px;
width: 55px;
height: 25px;
-webkit-transform: rotate(12deg);
-moz-transform: rotate(12deg);
-o-transform: rotate(12deg);
-ms-transform: rotate(12deg);
}
#imagoroid imagecaption{
text-align:center;
font-family: 'Reenie Beanie', cursive; /*Reenie Beanie is available through Google Webfonts http://code.google.com/webfonts/specimen/Reenie+Beanie*/
font-size:1.3em;
color:#454f40;
letter-spacing:0.09em;
}
/**IE Hacks - see http://css3pie.com/ for more info on how to use CS3Pie and to download the latest version**/
#imagoroid imagemania{
-pie-background: linear-gradient(#ede1c9, #fef8e2 20%, #f2ebde 60%);
behavior: url(assets/pie/PIE.htc);
position:relative; /*required to make PIE work*/
padding-top:10px\9;
padding-right:10px\9;
}
And go to the template and click on edit template.
Hit Ctrl+F
And search for ]]></b:skin>
And paste the CSS code below this code ]]></b:skin>.
You are done.

HTML code
<div id="imagoroid">
<imagemania>
<img src="https://s-media-cache-ak0.pinimg.com/564x/bb/0e/da/bb0eda2c7918fcd093c707dd3905d815.jpg" width="225" height="220" alt="Red mushroom" />
<imagecaption>Love is in the air</imagecaption>
</imagemania>
<imagemania>
<img src="https://s-media-cache-ak0.pinimg.com/564x/9e/12/86/9e128665fb2f0c3422578cc56f7c34d1.jpg" width="227" height="200" alt="Love is immortal" />
<imagecaption>Love is immortal</imagecaption>
</imagemania>
<imagemania>
<img src="https://s-media-cache-ak0.pinimg.com/564x/1a/5f/46/1a5f4620480421b6c4172014a95702a4.jpg" width="225" height="200" alt="An old tree" />
<imagecaption>Miss you baby</imagecaption>
</imagemania>
</div><!--end imagoroid-->

Customization
Here are some options to customize this blogger widget and give your images a polaroid effect.

1. Look at the HTML code and change the IMAGE URL with the url of your images.
2. Change IMAGE CAPTION with your captions.
3. You can add more images in this image gallery by repeating HTML code.

Like, Share your Beautiful Ideas with us and if you have any Question ask us, stay Blessed , Happy Blogging.

No comments :

Post a Comment