728x90 AdSpace

Sunday 26 January 2014

Add Background Color Changing Effect In Blogger With CSS


Share It With Your Friends





Background of any template has play an important role in loading time.If your template background has a background picture it surf more loading time than to this blog who has no picture in his background.

Nowadays, Stylish blogs getting excellent impressions. If your blog looks unique and different your audience will stay in your blog for long time. Next to the blog content, Look of your blog is very much important. Content helps to pick your blog link and shown up on search engine results. But once visitors open your blog, your blog's look desire the surfing on your blog again. That is why Here I introduce a small trick to make your blog different from others.
Add Background Color Changing Effect In Blogger With CSS




Css Background color changing effect for Blogger blogs. Change your blog background color continuously with CSS coding. Once you added this CSS code to your blog template, this animated color changing background effect will be shown on your blog instantly. You can customize the colors displaying on background as your wish. Let me explain how to implement this on your blogger blog.

Also Read: How To Add Navigation Menu Bar To Blogger


Implementation Guide


Remove existing background CSS code in your blog template. 


Just remove Background  property code only. Don't remove the selector.

Add Background Color Changing Effect In Blogger With CSS

Search for body then remove background property with value as shown in above image.

Add new Background CSS code to your Blog template


Step 1: Go to Blogger Dashboard in your blogger account.

Step 2: Click on the Edit HTML button to extract your blog template.

Step 3: Search for ]]></b:skin> using Ctrl+F in Notepad.

Step 4: Copy the following code and paste the code above it.




body {animation: colorBackground 20s infinite;-webkit-animation: colorBackground 20s infinite;-moz-animation: colorBackground 20s infinite;-o-animation: colorBackground 20s infinite;}
@keyframes colorBackground {0% { background-color: #fbcf61; color: #fbcf61; }20% { background-color: #6bd57e; color: #6bd57e; }40% { background-color: #ff6f6f; color: #ff6f6f; }60% { background-color: #57cff4; color: #57cff4; }80% { background-color: #0ed4c8; color: #0ed4c8; }100% { background-color: #fbcf61; color: #fbcf61; }}@-webkit-keyframes colorBackground {0% { background-color: #fbcf61; color: #fbcf61; }20% { background-color: #6bd57e; color: #6bd57e; }40% { background-color: #ff6f6f; color: #ff6f6f; }60% { background-color: #57cff4; color: #57cff4; }80% { background-color: #0ed4c8; color: #0ed4c8; }100% { background-color: #fbcf61; color: #fbcf61; }}@-moz-keyframes colorBackground {0% { background-color: #fbcf61; color: #fbcf61; }20% { background-color: #6bd57e; color: #6bd57e; }40% { background-color: #ff6f6f; color: #ff6f6f; }60% { background-color: #57cff4; color: #57cff4; }80% { background-color: #0ed4c8; color: #0ed4c8; }100% { background-color: #fbcf61; color: #fbcf61; }}@-o-keyframes colorBackground {0% { background-color: #fbcf61; color: #fbcf61; }20% { background-color: #6bd57e; color: #6bd57e; }40% { background-color: #ff6f6f; color: #ff6f6f; }60% { background-color: #57cff4; color: #57cff4; }80% { background-color: #0ed4c8; color: #0ed4c8; }100% { background-color: #fbcf61; color: #fbcf61; }}

Step 5: Click on Save template button

That's all. You are done!

Share your experience with us by leaving a comment below. If you like this please share it..
  • Blogger Comments
  • Facebook Comments

2 Comments:

Top