Buffer

Customize Blockquote With Light Bulb Effect On Mouse Hover

By Durodola Ridwan | Saturday, September 15, 2012 | 3 Comments

Customizing your blockqoute with cool effect is the best way of showing your HTML/JavaScript or CSS code in a more presentable way. This blockquote am sharing with you is built up of simple CSS code in which it does not affect your post page load time, and it contain a light bulb which lights up on mover hover with a cool drop shadow effect that is included.
See the preview of the blockquote before and after hover effect below

BEFORE MOUSE HOVER

AFTER MOUSE HOVER




Customizing Blockquote With Light Bulb Effect
  • Go to your blogger dashboard
  • Click on "Design" > "Edit HTML" > back up your template
  • Use ctrl to find ]]></b:skin> and paste the following code above/before ]]></b:skin>
.code1 {
overflow:auto;width:520px;
font-family: "Consolas", "Courier New", Courier, mono, serif;
color:#848176;
margin : 15px 35px 15px 15px;
padding : 10px 10px 10px 35px;
clear : both;
list-style-type : none;
background : #000000 url(http://2.bp.blogspot.com/-_VIOvrpUNdQ/UFOpIFlp3UI/AAAAAAAABIs/stchvv8qETc/s1600/rb+light+bulb.jpg) repeat-y top left;
border : 1px solid #000000;
border-left:20px solid #ccc;
-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition-duration:all .3s ease-in-out;transition:all .3s ease-in-out;-webkit-border-radius:3px;-moz-border--moz-border-radius: 23px 20px 20px 20px;border-radius: 23px 20px 20px
}
.code1:hover{
background : #000000 url(http://4.bp.blogspot.com/-QmNJFDBKrB4/UFOk-M-QBGI/AAAAAAAABH4/NZIdhx0Aj1Y/s1600/rb+light+bulb+2.jpg) repeat-y top left;
color:#FEF9BF;
border : 1px solid #000;
border-left:20px solid #ccc;
-webkit-box-shadow: 0px 0px 10px  rgba(0, 0, 0, .3);
-moz-box-shadow: 0px 0px 10px  rgba(0, 0, 0, .3);
box-shadow: 0px 0px 10px  rgba(0, 0, 0, .3);
box-shadow: 10px 10px 5px #888888;
}
  • Click "SAVE TEMPLATE"


Implementing and Customization

When you are composing a post in your post editor, and you are about to use the blockquote, simply switch to "Edit HTML" mode and copy the code below in the post editor box

<div class="code1"> Enter Your Code Here </div>
  • Switch back to Compose mode and replace Enter Your Code Here with your html or css code
  • To change the width of the blockquote box simply edit width:520px;
That's all
If you need any further help, don't hesitate to ask and share this post with friends/followers

Enjoyed This Post? Subscribe For More Update!

Related Posts Plugin for WordPress, Blogger...

3 comments:

  1. Thanks for sharing. Its good to see fresh content always.
    mobile website design and development

    ReplyDelete
  2. In fact your creative writing abilities have inspired me to start my own blog now. Really blogging is spreading its wings rapidly. Your write up is a fine example of it.
    Lightbar Towtruck

    ReplyDelete

Confused? Feel free to ask

Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.

Note:
1. To add HTML code in comments then please use our HTML Encoder
2. For perfect customization of our tutorials, use our HTML Editor
3. If you want to be notified on follow up comments or replies, click on "Subscribe by email" below the comment box.
4. Please do not spam, Spam comments will be deleted immediately upon our review.

Regards,
Ridwan

Next Post Previous Post Home

About Me

My Photo
Durodola Ridwan is a blogger enthusiast and founder of www.realcombiz.com. He love writing about Blogging tips, SEO, SocialMedia strategies, and Tech news in general. You can hook him up on facebook, twitter @realcombiz, and Google+.

Recent Posts

Copyright © 2013. All Rights Reserved | Home | Contact | Privacy Policy
Powered by Blogger