Header Ads

  • Breaking News

    How to Creating Colorful Float Buttons With CSS Very Easy


    Box float burrons are made ​​using some CSS. So you can apply CSS its function for other elements such as menu navigation buttons, download button, or possibly the key back-to-top. Because, basically, this box using CSS: hover and: active to create effects such as clicking on an element.
    Colorful Float Buttons                                                                            http://blogger-templatees.blogspot.com/

    See Demo Here

    Well, let's start it:
    Go to blogger dashboard and choose blog you want to add these buttons. 
    Click the Edit HTML and find ]]></skin> tag.
    Just above that, add next code:

    CSS:
    body {
      background-color: #eee;
      padding: 50px;
      text-align: center;
    }
    
    #box-melayang {
      display: inline-block;
      position: relative;
      background-color: white;
      width: 70px;
      height: 40px;
      margin: 0 5px;
      -webkit-box-shadow: 0 10px 5px -4px rgba(0, 0, 0, .2);
      -moz-box-shadow: 0 10px 5px -4px rgba(0, 0, 0, .2);
      box-shadow: 0 10px 5px -4px rgba(0, 0, 0, .2);
      -webkit-border-radius: 10px;
      -moz-border-radius: 10px;
      border-radius: 10px;
      font: normal normal 20px/40px "helvetica", Oswald, Arial, Sans-Serif;
      text-align: center;
      color: #888;
      cursor: default;
      width: auto;
      padding: 0px 8px;
    }
    
    .custom {
      background: #007AC3 !important;
      color: #fff !important;
    }
    
    .custom1 {
      background: #3853B1 !important;
      color: #fff !important;
    }
    
    .custom2 {
      background: #DD3636 !important;
      color: #fff !important;
    }
    
    .custom3 {
      background: #DD369A !important;
      color: #fff !important;
    }
    
    #box-melayang:hover {
      top: 5px;
      -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
      -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
      box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
    }
    
    #box-melayang:active {
      top: 6px;
      -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
      -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
      box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    }

    Don't forget to backup tempalate. Also, before saving you can preview your blog to see is everything ok. If isn't, editor will not save your template.

    Now go to Layout ​ Add Widget/Gadget ​ Choose HTML and Paste next code:
    <div id="box-melayang" class="custom1">Like us</div>
    <div id="box-melayang" class="custom2">Share +</div>
    <div id="box-melayang" class="custom3">Love it !</div>
    <div id="box-melayang" class="custom">Follow us</div>

    You can customize it very easy, like, follow me, change color (you can find color codes here)
    That's it. I hope it's working fine

    No comments

    Post Top Ad

    Post Bottom Ad