Stylish Animated CSS Buttons For Blogger.

Today in this blogger tutorial we are gonna add cool CSS button with mouse hover effect to your blogger blog. These buttons are made from pure CSS and on mouse hover the color of this buutons changes with a light shadow effect. So I think its beautiful and each button has different colors and style. These buttons are for home, demo and download. You can also change the text to display with your text.



Demo Here

So to create and add the button to your website and blog,

Follow Steps:

  • Login to your Blogger account, go to Blogger dashboard, click the arrow adjacent to 'Go to post list icon' and select 'Template' from dropdown menu. You can also select the 'Template' from left navigation menu.
    • Click 'Edit HTML'.
      • search for (Ctrl+F]]></b:skin> and paste (Ctrl+V) the following code just after ]]></b:skin>


      
      /* ---css button by priosoft --- */
      .btn {
        box-sizing: border-box;
        -webkit-appearance: none;
           -moz-appearance: none;
                appearance: none;
        background-color: transparent;
        border: 2px solid #e74c3c;
        border-radius: 0.6em;
        color: #e74c3c;
        cursor: pointer;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-align-self: center;
            -ms-flex-item-align: center;
                align-self: center;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1;
        margin: 20px;
        padding: 1.2em 2.8em;
        text-decoration: none;
        text-align: center;
        text-transform: uppercase;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
      }
      .btn:hover, .btn:focus {
        color: #fff;
        outline: 0;
      }
      
      .first {
        -webkit-transition: box-shadow 300ms ease-in-out, color 300ms ease-in-out;
        transition: box-shadow 300ms ease-in-out, color 300ms ease-in-out;
      }
      .first:hover {
        box-shadow: 0 0 40px 40px #e74c3c inset;
      }
      
      .second {
        border-radius: 3em;
        border-color: #1abc9c;
        color: #fff;
        background-image: -webkit-linear-gradient(left, rgba(26, 188, 156, 0.6), rgba(26, 188, 156, 0.6) 5%, #1abc9c 5%, #1abc9c 10%, rgba(26, 188, 156, 0.6) 10%, rgba(26, 188, 156, 0.6) 15%, #1abc9c 15%, #1abc9c 20%, rgba(26, 188, 156, 0.6) 20%, rgba(26, 188, 156, 0.6) 25%, #1abc9c 25%, #1abc9c 30%, rgba(26, 188, 156, 0.6) 30%, rgba(26, 188, 156, 0.6) 35%, #1abc9c 35%, #1abc9c 40%, rgba(26, 188, 156, 0.6) 40%, rgba(26, 188, 156, 0.6) 45%, #1abc9c 45%, #1abc9c 50%, rgba(26, 188, 156, 0.6) 50%, rgba(26, 188, 156, 0.6) 55%, #1abc9c 55%, #1abc9c 60%, rgba(26, 188, 156, 0.6) 60%, rgba(26, 188, 156, 0.6) 65%, #1abc9c 65%, #1abc9c 70%, rgba(26, 188, 156, 0.6) 70%, rgba(26, 188, 156, 0.6) 75%, #1abc9c 75%, #1abc9c 80%, rgba(26, 188, 156, 0.6) 80%, rgba(26, 188, 156, 0.6) 85%, #1abc9c 85%, #1abc9c 90%, rgba(26, 188, 156, 0.6) 90%, rgba(26, 188, 156, 0.6) 95%, #1abc9c 95%, #1abc9c 100%);
        background-image: linear-gradient(to right, rgba(26, 188, 156, 0.6), rgba(26, 188, 156, 0.6) 5%, #1abc9c 5%, #1abc9c 10%, rgba(26, 188, 156, 0.6) 10%, rgba(26, 188, 156, 0.6) 15%, #1abc9c 15%, #1abc9c 20%, rgba(26, 188, 156, 0.6) 20%, rgba(26, 188, 156, 0.6) 25%, #1abc9c 25%, #1abc9c 30%, rgba(26, 188, 156, 0.6) 30%, rgba(26, 188, 156, 0.6) 35%, #1abc9c 35%, #1abc9c 40%, rgba(26, 188, 156, 0.6) 40%, rgba(26, 188, 156, 0.6) 45%, #1abc9c 45%, #1abc9c 50%, rgba(26, 188, 156, 0.6) 50%, rgba(26, 188, 156, 0.6) 55%, #1abc9c 55%, #1abc9c 60%, rgba(26, 188, 156, 0.6) 60%, rgba(26, 188, 156, 0.6) 65%, #1abc9c 65%, #1abc9c 70%, rgba(26, 188, 156, 0.6) 70%, rgba(26, 188, 156, 0.6) 75%, #1abc9c 75%, #1abc9c 80%, rgba(26, 188, 156, 0.6) 80%, rgba(26, 188, 156, 0.6) 85%, #1abc9c 85%, #1abc9c 90%, rgba(26, 188, 156, 0.6) 90%, rgba(26, 188, 156, 0.6) 95%, #1abc9c 95%, #1abc9c 100%);
        background-position: 0 0;
        background-size: 100%;
        -webkit-transition: background 300ms ease-in-out;
        transition: background 300ms ease-in-out;
      }
      .second:hover {
        background-position: 100px;
      }
      
      .third {
        border-color: #3498db;
        color: #fff;
        box-shadow: 0 0 40px 40px #3498db inset, 0 0 0 0 #3498db;
        -webkit-transition: all 150ms ease-in-out;
        transition: all 150ms ease-in-out;
      }
      .third:hover {
        box-shadow: 0 0 10px 0 #3498db inset, 0 0 10px 4px #3498db;
      }
      
      .fourth {
        border-color: #f1c40f;
        color: #fff;
        background-image: -webkit-linear-gradient(45deg, #f1c40f 50%, transparent 50%);
        background-image: linear-gradient(45deg, #f1c40f 50%, transparent 50%);
        background-position: 100%;
        background-size: 400%;
        -webkit-transition: background 300ms ease-in-out;
        transition: background 300ms ease-in-out;
      }
      .fourth:hover {
        background-position: 0;
      }
      
      .fifth {
        border-color: #8e44ad;
        border-radius: 0;
        color: #8e44ad;
        position: relative;
        overflow: hidden;
        z-index: 1;
        -webkit-transition: color 200ms ease-in-out;
        transition: color 200ms ease-in-out;
      }
      .fifth:after {
        content: '';
        position: absolute;
        display: block;
        top: 0;
        left: 50%;
        -webkit-transform: translateX(-50%);
                transform: translateX(-50%);
        width: 0;
        height: 100%;
        background: #8e44ad;
        z-index: -1;
        -webkit-transition: width 200ms ease-in-out;
        transition: width 200ms ease-in-out;
      }
      .fifth:hover {
        color: #fff;
      }
      .fifth:hover:after {
        width: 110%;
      }
      
      .sixth {
        border-radius: 3em;
        border-color: #2ecc71;
        color: #2ecc71;
        background-image: -webkit-linear-gradient(top, transparent 50%, #2ecc71 50%);
        background-image: linear-gradient(to bottom, transparent 50%, #2ecc71 50%);
        background-position: 0 0;
        background-size: 200%;
        -webkit-transition: background 150ms ease-in-out, color 150ms ease-in-out;
        transition: background 150ms ease-in-out, color 150ms ease-in-out;
      }
      .sixth:hover {
        color: #fff;
        background-position: 0 100%;
      }
      
      /* --- css button priosoft --- */
      

      .
      • Click on Save Template to apply the CSS code to your blog.
      • After adding the CSS code to your blog’s template, all you need to do next is add the below line of code where ever you want to add the css button while composing a post.


         <button class="btn first">Button 1</button>
        <button class="btn second">Button 2</button>
        <button class="btn third">Button 3</button>
        <button class="btn fourth">Button 4</button>
        <button class="btn fifth">Button 5</button>
        <button class="btn sixth">Button 6</button>

        For questions pertaining to how to add this awesome animated CSS  button to your website and Blogger, please do feel free to ask via the comment box below. ENJOY!
        Any type of information please Contact us.
        Labels: ,

        Post a Comment

        [blogger][facebook][disqus]
        Swicther!
        Layout
        Boxed Full
        Boxed Background Image
        Main Color
        #007ABE

        Shawon Khan

        {picture#https://1.bp.blogspot.com/-BDYMzedJdjs/UAI7F8ZNFKI/AAAAAAAAACY/yhMlXb-dkDU/s50/avatku.jpg} Nor is it at all prudent for the hunter to be over curious touching the precise nature of the whale spout. {facebook#http://facebook.com} {twitter#http://twitter.com} {google#http://google.com} {pinterest#http://pinterest.com} {youtube#http://youtube.com}

        Contact Form

        Name

        Email *

        Message *

        Powered by Blogger.