MEGA WEB BUTTONS PACK #1

    Rating: ★★★★☆
    View: 234
    Download: 180
    Từ khóa:

    Today we want to share our first set of easy-to-implement buttons called ‘Mega Web Buttons Pack’. In this set you will find 42 buttons which you can use easily on your website. 

    Our first step is to add the following line of jQuery:

    $('.btn').append($('').addClass('helper'));

    This means that we will create a new ‘span’ element which is the holder for the button icon.

    If, for example, you want to add the ‘Chart’ button you need to add markup to your website:

    Chart
    or the ‘Search’ button:
    Search

    In the CSS you can change the looks by, for example, changing the background color:

    .btn.green {
        background:#2DA10C;
    }

    and markup will be:

    Search

    We hope you like our experiment. Let us know which icon set you would like to see wrapped up like this in the future.

    loading Đang tải...

    template được ưa chuộng