• Web

    Written by Jeff


    Here is little tutorial to help you spice up your blog posts inpost heading with a little icon, first of all you would need to define a CSS Class in your style.css as below as we try to show little icon (computer LCD) before the Heading Text See Demo here

    .demo {
    background:#F3F3F3 url(images/demo.png) no-repeat scroll 15px 50%;
    border:1px solid #D3D7CF;
    margin:5px 0;
    padding:15px 20px 10px 60px;
    text-align:left;
    }

    And in your html wrap the  Text heading with below Div class

    Heading see demo here

    As you can see in the image below, You can define as many classes as you need with different icons for different purposes following the same rule as above

    css-tutorial

    You can see live Demo here

    • StumbleUpon
    • Reddit
    • Twitter
    • Facebook
    • Digg

    Other Posts:

    If you liked this post, Please don't forget to subscribe to our Feed or follow us on Twitter.
  • 1 Comment

    Take a look at some of the responses we've had to this article.

    1. Adam
      Mar 27th
      Reply

      Hmm! Thanks for sharing this tutorial :)

  • Leave a Reply

    Let us know what you thought.

  • Name (required):

    Email (required):

    Website:

    Message: