• Giới thiệu   Điều khoản   Hỏi đáp   Hỗ trợ   Liên hệ   Site Map  
  • XemTop1.Blogspot.Com

    Chào các bạn, hôm nay mình sẽ giới thiệu đến các bạn mẫu thanh tìm kiếm được thiết kế phẳng, đẹp sử dụng CSS và jQuery để thêm hiệu ứng.
    Xem demo
     
     
    Thanh search này do mình chỉnh sửa lại từ template của Arlina Design, mặc định thì không được vậy đâu. Mình đã chỉnh sửa CSS, thêm jQuery để có hiệu ứng đẹp hơn đấy!

    Để thực hiện các bạn thực hiện các bước sau:

    Bước 1: Đăng nhập Blogger ➜ Mẫu ➜ Chỉnh sửa HTML.
    Bước 2: Chèn đoạn CSS dưới đây vào trước thẻ ]]></b:skin> trong template.
    .searchbutton{cursor:pointer}
    .searchbutton2{background:#848889;border:none;outline:none;cursor:pointer;color:#fff;padding:15px 20px;text-transform:uppercase;font-weight:400;font-size:16px;font-family:&#39;Roboto&#39;,sans-serif;transition:.3s ease-in-out;position:relative;top:1px}
    .searchbutton.active:after{color:#fff}
    .search-form{display:none;position:fixed;bottom:0;background:#fff;padding:0;width:100%;z-index:99;margin:0 auto}
    .searchform{margin:0 auto;text-align:center;line-height:55px}
    .searchbar{background:transparent;border:none;width:1080px;padding:0 10px;font:300 38px &quot;Roboto&quot;,sans-serif;color:#666;margin:0 auto;outline:0;line-height:100px;transition:.3s ease-in-out;letter-spacing:-1.55px}
    .searchbar:focus{color:#666}
    .searchsubmit{background:#848889 url(https://4.bp.blogspot.com/-SDiaGMyrAAM/WEF-onfl5fI/AAAAAAAABbc/2DQ3OSgdhL8JFrH5OKU8pFh9-eh6shchQCLcB/s1600/search-icon.png) no-repeat center center;background-size:60%;border:none;outline:none;cursor:pointer;color:#fff;padding:15px 25px;text-transform:uppercase;font-weight:400;font-size:16px;font-family:&#39;Roboto&#39;,sans-serif;transition:.3s ease-in-out}
    .searchsubmit:hover,.searchbutton2:hover{background-color:#55579e;color:#fff}
    .searchsubmit:focus,.searchbutton2:focus{background-color:#55579e;color:#fff}
    .darkshadow2{display:none;position:fixed;top:0;background:rgba(0,0,0,.5);left:0;margin:0;z-index:97;width:100%;height:100vh}
    Bước 3: Chèn đoạn javascript sau vào trên thẻ </head> trong template.
    <script type='text/javascript'>
    //<![CDATA[
    eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('4s(4l(p,a,c,k,e,d){e=4l(c){4k(c<a?\'\':e(4r(c/a)))+((c=c%a)>35?4n.4q(c+29):c.4v(36))};4p(!\'\'.4m(/^/,4n)){4o(c--){d[e(c)]=k[c]||e(c)}k=[4l(e){4k d[e]}];e=4l(){4k\'\\\\w+\'};c=1};4o(c--){4p(k[c]){p=p.4m(4t 4w(\'\\\\b\'+e(c)+\'\\\\b\',\'g\'),k[c])}}4k p}(\'3p(3e(p,a,c,k,e,d){e=3e(c){3f(c<a?\\\'\\\':e(3r(c/a)))+((c=c%a)>35?3j.3n(c+29):c.3l(36))};3g(!\\\'\\\'.3i(/^/,3j)){3h(c--){d[e(c)]=k[c]||e(c)}k=[3e(e){3f d[e]}];e=3e(){3f\\\'\\\\\\\\w+\\\'};c=1};3h(c--){3g(k[c]){p=p.3i(3m 3k(\\\'\\\\\\\\b\\\'+e(c)+\\\'\\\\\\\\b\\\',\\\'g\\\'),k[c])}}3f p}(\\\'1V(1P(p,a,c,k,e,d){e=1P(c){1Q(c<a?\\\\\\\'\\\\\\\':e(2W(c/a)))+((c=c%a)>35?1R.2S(c+29):c.1Y(36))};1T(!\\\\\\\'\\\\\\\'.1S(/^/,1R)){1U(c--){d[e(c)]=k[c]||e(c)}k=[1P(e){1Q d[e]}];e=1P(){1Q\\\\\\\'\\\\\\\\\\\\\\\\w+\\\\\\\'};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2k|33|35|34|2j|2c|32|2b|2h|2f|||||||||||2g|28|26|25|27|24|29|36|2T|39|38|37|31|2R|2P|2Q|2V|30|3b|3c|3a|2Z|2X|2Y|2O|2N|2D|2E|2C|2B|2z|2A|1Y|2F|2G|2L|2M|2K|2J|2H|2I\\\\\\\'.2a(\\\\\\\'|\\\\\\\'),0,{}))\\\',3o,3E,\\\'|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||3e|3f|3j|3i|3g|3h|3p|3m|3k|3l|3o|||||||||||3q|3C|3F|3K|3G|3I|44|3H|3B|3J|45|3z|3u|3t|48|3s|3v|3A|3w|3y|3x|46|47|3D|49|4d|4c|4b|4a|4f|4e|4j|4i|4g|3Z|3P|3Q|3O|3L|3M|3S|3X|41|43|3n|40|3U|42|3r|3T|3V|3W|||||||||||3R|3N|3Y|4h\\\'.3q(\\\'|\\\'),0,{}))\',4u,4K,\'||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||4l|4k|4p|4o|4m|4n|4w|4v|4t|4q|4u|4s|4x|4r|4H|59|4I|4E|50|4J|4C|58|57|53|4y|55|4z|4D|54|4A|4B|4F|56|4Z|5f|5g|5a|5c|5b|5d|5e|4X|51|4P|4O|4N|4L|4M|||||||||||4Q|4R|4W|4V|4Y|4U|4S|52|4T|4G\'.4x(\'|\'),0,{}))',62,327,'||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||return|function|replace|String|while|if|fromCharCode|parseInt|eval|new|62|toString|RegExp|split|fadeIn|200|form|searchbutton2|113|100|63|searchbutton|fadeOut|61|60|64|268|70|77|toggleClass|65|72|300|darkshadow2|78|75|active|71|68|67|this|76|||||||||||73|69|74|66|click|79|search'.split('|'),0,{}))
    //]]>
    </script>
    Bước 4: Chèn đoạn Code HTML sau vào sau thẻ <body> hoặc trước thẻ </body> trong template.
    <div class='darkshadow2 active'/>
    <div class='search-form'>
       <form action='/search' class='searchform' method='get'>
          <input class='searchbar' id='s' name='q' onblur='if(this.value==&apos;&apos;){this.value=&apos;Nhập từ khóa tìm kiếm...&apos;;}' onfocus='if(this.value ==&apos;Nhập từ khóa tìm kiếm...&apos;) {this.value=&apos;&apos;; }' placeholder='Nhập từ khóa tìm kiếm...' type='text' value='Nhập từ khóa tìm kiếm...'/>
          <input class='searchsubmit' type='submit' value=''/>
          <a class='searchbutton2'><i class='fa fa-times'/></a>
       </form>
    </div>
    Bước 5: Sử dụng đoạn sau để đặt icon tìm kiếm ở nơi bạn muốn (trong thanh menu, widget sidebar chẳng hạn).
    <a class='searchbutton active'><i class='fa fa-search'></i></a>

    Bổ sung

    Nếu trong template bạn chưa có Font Awesome thì phải thêm đoạn này sau thẻ <head> nhé.
    <link href='https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' rel='stylesheet' type='text/css'/> 
      Chia sẻ bài viết:
  • Bạn cũng nên xem:   
  • Tag / /
  • MỘT SỐ LƯU Ý KHI BÌNH LUẬN:
    ● Comment có văn hóa: Không chửi tục, nói bậy, thông qua khung Comment.
    ● Với tên "ẩn danh" thì bạn tích vào ô: "chứng minh bạn không phải là rô-bốt".
    ● Để bình luận một đoạn code, bạn click vào đây để mã hóa code trước nhé !
    ● Để đăng ảnh làm hình minh họa, bạn click vào đây để Upload ảnh lên sever nhé !

    0 nhận xét | Viết lời bình

    ● Xem thêm: hướng đẫn chèn mặt cười, biểu tượng.
    Trang chủ Diễn đàn, hỏi đáp Nghe Nhạc Sitemap - bài đăng Thông tin liên hệ