Skip to main content

Social Bookmarks với hiệu ứng CSS

Xin chào mọi người, hôm nay em sẽ giới thiệu cho mọi người một thủ thật tạo Social Bookmarks với hiệu ứng CSS mà em vừa "nghiên cứu" được. Demmo nằm ở bên dưới. Di chuột vào để xem hiệu ứng nhé!









Mọi người thấy thế nào? Mướt nhỉ? Cái này em nghĩ khá là hợp cho các Personal và Simple Theme. Nào, chúng ta cùng bắt đầu thôi:
Vào   Bố cục  >>  Thêm tiện ích HTML  và dán code sau vào:
<style>
.social_bookmarks {
    margin: 0px 5px 0px 0px;
    position: relative;
    z-index: 150;
    right: -20px;
    bottom: -5px;
}
.social_bookmarks li {
    border-radius: 40px 40px 40px 40px;
    float: left;
    height: 100%;
    margin-left: -9px;
    overflow: hidden;
    padding: 0;
    position: relative;
}
.social_bookmarks li:hover {
    z-index: 10;
}
.social_bookmarks li a {
    word-wrap: normal;
    display: block;
    float: left;
    height: 100%;
    line-height: 40px;
    margin: 0px;
    min-height: 40px;
    outline: medium none;
    overflow: hidden;
    padding: 0px;
    position: relative;
    text-indent: 110%;
    width: 40px;
    z-index: 3;
}
.social_bookmarks_facebook a {
    background: url("https://lh6.googleusercontent.com/-xCpvam2KeSI/UVb6N-uY3JI/AAAAAAAAAt8/w8lhfkvV_Tg/s512/icon-facebook.png") no-repeat scroll center 0 transparent;
}
.social_bookmarks_twitter a {
    background: url("https://lh5.googleusercontent.com/-CaImtzJChTc/UVb6POBCasI/AAAAAAAAAuE/8WOseJFjzwg/s512/icon-twitter.png") no-repeat scroll center 0 transparent;
}

.social_bookmarks_pinterest a {
    background: url("https://lh4.googleusercontent.com/-VXtIspk2jAk/UVb6NX0s64I/AAAAAAAAAt0/3sFG24HNCqA/s512/icon-pinterest.png") no-repeat scroll center 0 transparent;
}
.dark_bg_color .social_bookmarks li a {
    background-position: center -43px;
}
.social_bookmarks_facebook:hover a, div .social_bookmarks_facebook .css_3_hover {
    background-color: #37589B;
    background-position: center -43px;
}
.social_bookmarks_twitter:hover a, div .social_bookmarks_twitter .css_3_hover {
    background-color: #46D4FE;
    background-position: center -43px;
}

.social_bookmarks_pinterest:hover a, div .social_bookmarks_pinterest .css_3_hover {
    background-color: #CB2027;
    background-position: center -43px;
}
#searchform {
    float: left;
    margin: 0;
    position: relative;
}

.header_meta {
    height: 60px;
   margin: 10px;
}
</style>

<div class="header_meta">
<ul class='social_bookmarks icon_count_3'>


<li class='social_bookmarks_twitter'><a href='Địa chỉ Fanpage'>Twitter</a></li>


<li class='social_bookmarks_facebook'><a href='Địa chỉ Fanpage'>Facebook</a></li>



<li class='social_bookmarks_pinterest'><a href='Địa chỉ Fanpage'>Pinterest</a></li></ul>

</div>
Vì trình độ CSS của em còn gà mờ nên chỉ làm được có thế. Có thể có một số lỗi mắc phải trên một số trình duyệt mà em không biết. Vì vậy nếu test xong mà bị lỗi thì mọi người cứ comment bên dưới. Em sẽ cố gắng khắc phục.
Nếu nhiều Like hoặc +1 thì bài sau em sẽ share cách tạo Share box dạng này :)))

Comments

  1. Cái này hồi trc có thấy đâu đó rồi
    P/s : tình hình thi cử sao rồi ku ? Ok chứ ?

    ReplyDelete
  2. Cái này có bên WP bác à, em áp dụng vào blogger thì bị lỗi do ảnh hưởng của các thuộc tính có sẵn. Không biết bác thấy thế nào chứ bên trinh duyệt của em cũng ổn rồi. Còn việc thi cử thì ;((

    ReplyDelete
  3. Chào bạn.
    Cảm ơn bạn đã ghé thăm Webkiemtien24h và đề nghị đặt liên kết. Bạn vui lòng cung cấp thêm thông tin 2 blog của bạn theo mẫu TẠI ĐÂY, đồng thời gắn liên kết đến Webkiemtien24h trên 2 blog của bạn để thực hiện trao đổi liên kết nhé.

    ReplyDelete
  4. Đã add site này của bạn nhưng site http://vnzap.com/ mình có qua nhưng không comment được , bạn coi fix lỗi luôn site kia đi.
    Bạn add mình như sau nhé
    URL: http://laodongblog.blogspot.com/
    Tiêu đề hiện: LaoDongBlog
    Tiêu đề ẩn: Thủ Thuật Windows 8-Phần Mềm Miễn Phí-Hình Nền Đẹp | LaoDongBlog
    Bạn cho mình thông tin để mình add vào nhé.

    ReplyDelete
  5. blog đẹp quá,sang nhà mình chém phát

    ReplyDelete
  6. Thank đã chia sẽ nhé . Blog làm đẹp quá ta.

    ReplyDelete
  7. Đúng rồi mình làm bên wp thì dc mà blog thì bị lỗi là do đâu ta !

    ReplyDelete
  8. Admin blog này đâu nhỉ? sao k thấy hồi âm, chỉnh dùm cái backlink ta.

    ReplyDelete
  9. Hiêu ứng rất hay!
    Chi Thùy – Người Mẫu
    -------------------------------------------------------------------
    • Xem chi tiết về Những địa điểm chụp ảnh cưới tuyệt đẹp ở TP.HCM
    • Hoặc Nhung dia diem chup anh cuoi tuyet dep o TP.HCM

    ReplyDelete

Post a Comment

Popular posts from this blog

Leveraging the Fast TikTok API on Apify for Efficient Data Scraping

Introduction: In the world of social media data analysis, TikTok has emerged as a popular platform with a vast amount of user-generated content. To extract valuable insights from TikTok, developers and researchers often resort to web scraping. One efficient way to accomplish this task is by utilizing the Fast TikTok API on the Apify platform. In this article, we will explore the benefits and capabilities of leveraging the Fast TikTok API for data scraping on TikTok. Check the API here:  https://apify.com/novi/fast-tiktok-api

Giải trí với video hài

Hy vọng video này sẽ giúp mọi người thư giãn và xả xì trét :D

Tutorial: Scraping Data from TikTok using Fast TikTok API with Python

In this tutorial, I will guide you through the process of scraping data from TikTok using the Fast TikTok API with Python. We will be using the requests library to make HTTP requests and retrieve data from the API. Let's get started! Step 1: Obtain API Credentials Go to https://apify.com and create an account if you haven't already. Once logged in, navigate to the Fast TikTok API page ( https://apify.com/novi/fast-tiktok-api ). Follow the instructions on the page to obtain your API credentials, such as an API key or access token. Make sure to note down these credentials for future use. Step 2: Set up your Python Environment Ensure that you have Python installed on your system. You can download the latest version of Python from the official website ( https://www.python.org ). Install the requests library by running the following command in your terminal: pip install requests Step 3: Import Required Libraries Open your preferred Python IDE or text editor and create a new Python