-->

How to Add a Vintage Style to Images In Blogger using CSS

Responsive Ad Heref
How to Add a Vintage Style to Images In Blogger using CSS - Hi Guys Learn Seo Tips And Trick to get more Traffic, On this article you read this time with the title How to Add a Vintage Style to Images In Blogger using CSS, We have prepared this article well for you to read and take the information in it. Hopefully the contents of the article about Artikel Blog Design, Artikel How To, Which we write you can understand. Okay, happy reading.

Title : How to Add a Vintage Style to Images In Blogger using CSS
link : How to Add a Vintage Style to Images In Blogger using CSS

Also Read These


How to Add a Vintage Style to Images In Blogger using CSS

To get that vintage Instagram effect on your pictures, you don't have to use a program, now you can use CSS and get a similar result! The following trick will apply a shadow inside the image, add a back border, and on top of the image, add another semitransparent image with a grunge style that will give a vintage touch.

You can see a demo on the test blog - move the cursor over the image and it changes back to normal (notice that borders remain the same):



Obviously, there will be images that will fit better these effects than others, but regardless of that we do, there should be made a few observations:
- this effect is made with CSS and it will not recognize some browsers, especially Internet Explorer. So this effect might not work on older versions of IE. 
- the images are not centered, you will have to align them to the left (default) or to the right.

Now let's add the CSS code for applying this vintage Instagram effect on our images.

Adding Instagram-like Vintage Effect to Blogger Images

Step 1. From your Blogger dashboard > go to "Template" > "Edit HTML"



Step 2. Click anywhere inside the code area and press the CTRL + F keys to open Blogger' search box


Step 3. Type or paste the following tag inside the search box:
</head>
Step 4. Just above </head> add the following CSS style:
<style>
.vintage img {
padding:0;
float:left;
}
.vintage {
border:10px solid #000;
position: relative;
float: left; /* Change to right if you want the images to be aligned to the right */
margin-right: 20px;
margin-bottom: 20px;
}
.vintage:before {
content: "";
display: block;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(255,102,0, 0.6); /* sepia */
background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghEe2C9g8sTrB4lH_RJZRxOnwV_3XdcV39IEhKAkuHYi0H27FXZhYNnQ0FDM4lu6Y-S0ZRFgmduY6cIjjBNluG8q9CocYy5vTKMzM4061nWxiTxIZEOM0yUwpjRWsCWy9sWW1GZcohDfc/s0/grunge.png);
background-size: cover;
box-shadow: inset 0 0 50px #000, inset 0 0 50px #000, inset 0 0 50px #000;
-moz-transition: all 1s;
-webkit-transition: all 1s;
-o-transition: all 1s;
transition: all .1s;
}
.vintage:hover:before {
background: none;
box-shadow:none;
-moz-transition: all 1s;
-webkit-transition: all 1s;
-o-transition: all 1s;
transition: all .1s;
}
</style>
Note: The line in bold that corresponds to the color of the image, can be changed to any other color; here are some examples of traditional vintage:
background-color: rgba(0,0,255, 0.5); /* blue */
background-color: rgba(0,255,0, 0.5); /* green */
background-color: rgba(0,255,255, 0.5); /* cyan */
background-color: rgba(255,0,0, 0.5); /* red */
background-color: rgba(255,0,240, 0.5); /* violet */
If you want the image not to change to its original state on mouse hover, then remove the last code:
.vintage:hover:before {
background: none;
box-shadow:none;
-moz-transition: all 1s;
-webkit-transition: all 1s;
-o-transition: all 1s;
transition: all .1s;
}
Step 5. Click the "Save Template" button to save the style.

Step 6. Finally, add the following HTML code inside the HTML section of your posts each time you want to apply the vintage effect to an image:
<div class="vintage" style="clear:both;">
<img border="0" src="URL of the image" />
</div>
Replace the text in blue with the url of your picture.

And that's it, with this little experiment you can have your vintage-style images using CSS only.


Thats it guys about How to Add a Vintage Style to Images In Blogger using CSS

That's an article How to Add a Vintage Style to Images In Blogger using CSS This time, hopefully can benefit for you all. Well, see you in other article postings.

You are now reading the article How to Add a Vintage Style to Images In Blogger using CSS With link address https://learntogether-seo.blogspot.com/2013/03/how-to-add-vintage-style-to-images-in.html
Responsive Ad Here

Author:

velit viverra minim sed metus egestas sapien consectetuer, ac etiam bibendum cras posuere pede placerat, velit neque felis. Turpis ut mollis, elit et vestibulum mattis integer aenean nulla, in vitae id augue vitae.