Thanh ẩn hiện theo phong cách Zippy dành cho Blogspot

Thanh ẩn hiện theo phong cách Zippy dành cho Blogspot giống như Tạo nút ẩn hiện nội dung được giao diện hóa phong cách Zippy

Thanh ẩn hiện theo phong cách Zippy dành cho Blogspot
Thanh ẩn hiện theo phong cách Zippy dành cho Blogspot giống như Tạo nút ẩn hiện nội dung được giao diện hóa phong cách Zippy.
1. Chèn vào Template Blogspot
Bước 1: Blog > Chủ đề > Chỉnh sửa HTML > Nhấn tổ hợp phím Ctrl + F, tìm đến thẻ </head> > Dán đoạn code bên dưới lên phía trên thẻ </head> > Lưu lại chủ đề
<b:if cond='data:blog.pageType in {&quot;static_page&quot;,&quot;item&quot;}'>
<style type='text/css'>
/* ===== Zippy CSS ===== */
.zippy{border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;color:#28a1f0;cursor:pointer;margin:-1px;padding:10px 0;position:relative;width:100%;transition: all .0s ease}
.zippy:before{background:no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAHlBMVEVChfRChfRChfRChfRChfRChfRChfRChfRChfRChfSnCpalAAAACXRSTlMALYH8WFuAWVpIu53cAAAAOElEQVR42t3JsREAIAxC0SiKZv+FLULjsUGouP+i2Yad2sSqs8EPmDjVk+GibnLVXdRd1F0Y/fYAIYwA+YcaWtQAAAAASUVORK5CYII=);content:'';height:24px;margin-top:-12px;position:absolute;right:0;top:50%;width:24px}
.zippy-wrapper.open .zippy:before{margin-top:-12px;transform:scaleY(-1);-webkit-transform:scaleY(-1);-moz-transform:scaleY(-1);-ms-transform:scaleY(-1);-o-transform:scaleY(-1)}
.zippy-wrapper.open .zippy{position:relative;border-bottom:1px solid #fff}
.zippy-content{overflow:hidden;position:relative;display:none}
.zippy-overflow{width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;position:relative}
.zippy-wrapper.open .zippy-content{-webkit-animation:slide-down 0.218s ease-out;-moz-animation:slide-down 0.218s ease-out;display:block}
@-webkit-keyframes slide-down{0%{opacity:0;-webkit-transform:translateY(-100%)}100%{opacity:1;-webkit-transform:translateY(0)}}
@-moz-keyframes slide-down{0%{opacity:0;-moz-transform:translateY(-100%)}100%{opacity:1;-moz-transform:translateY(0)}}
</style>
</b:if>
Bước 2: Blog > Chủ đề > Chỉnh sửa HTML > Nhấn tổ hợp phím Ctrl + F, tìm đến thẻ </body> > Dán đoạn code bên dưới lên phía trên thẻ </body> > Lưu lại chủ đề
<script src='https://code.jquery.com/jquery-3.2.1.min.js'></script>

<b:if cond='data:blog.pageType in {&quot;static_page&quot;,&quot;item&quot;}'>
<script>
//<![CDATA[
// Zippy URL: https://bloggereklentileri.blogspot.com
$(function() {
$('.zippy').on('click', function(e) {
$(this).parent().toggleClass('open');}).on('zippy-down', function(e) {
e.stopPropagation();
e.preventDefault();
return false;});});
//]]>
</script>
</b:if>
Bước 3: Dán đoạn code bên dưới vào phần HTML của trang, bài viết
<div class="zippy-wrapper">
<div class="zippy">Tiêu đề</div>
<div class="zippy-overflow">
<div class="zippy-content">
<-- Nội dung -->
</div>
</div>
</div>
2. Chèn trực tiếp vào trang, bài viết Blogspot
Dán đoạn code bên dưới vào vị trí cần được hiển thị
<style type="text/css">
body {background:#eee;font-family:monospace;font-size:14px;padding:16px}
.post-body{background:#fff;padding:8px 16px;box-shadow:0 2px 5px 0 rgba(0,0,0,.26);}
.head-title{position:relative;margin:auto;text-align:center}
pre{direction:ltr;margin:0;text-align:left;white-space:pre-wrap;word-wrap:break-word}
pre{direction:ltr;margin:0;text-align:left;white-space:pre-wrap;word-wrap:break-word}
code{color:#060}
/* ===== Zippy ===== */
.zippy{border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;color:#28a1f0;cursor:pointer;margin:-1px;padding:10px 0;position:relative;width:100%;transition: all .0s ease}
.zippy:before{background:no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAHlBMVEVChfRChfRChfRChfRChfRChfRChfRChfRChfRChfSnCpalAAAACXRSTlMALYH8WFuAWVpIu53cAAAAOElEQVR42t3JsREAIAxC0SiKZv+FLULjsUGouP+i2Yad2sSqs8EPmDjVk+GibnLVXdRd1F0Y/fYAIYwA+YcaWtQAAAAASUVORK5CYII=);content:'';height:24px;margin-top:-12px;position:absolute;right:0;top:50%;width:24px}
.zippy-wrapper.open .zippy:before{margin-top:-12px;transform:scaleY(-1);-webkit-transform:scaleY(-1);-moz-transform:scaleY(-1);-ms-transform:scaleY(-1);-o-transform:scaleY(-1)}
.zippy-wrapper.open .zippy{position:relative;border-bottom:1px solid #fff}
.zippy-content{overflow:hidden;position:relative;display:none}
.zippy-overflow{width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;position:relative}
.zippy-wrapper.open .zippy-content{-webkit-animation:slide-down 0.218s ease-out;-moz-animation:slide-down 0.218s ease-out;display:block}
@-webkit-keyframes slide-down{0%{opacity:0;-webkit-transform:translateY(-100%)}100%{opacity:1;-webkit-transform:translateY(0)}}
@-moz-keyframes slide-down{0%{opacity:0;-moz-transform:translateY(-100%)}100%{opacity:1;-moz-transform:translateY(0)}}
</style>

<div class="post-body">
<div class="head-title"><h1>Tiêu đề 1</h1></div>
<p>Mô tả ngắn.</p>
<br>
<div class="zippy-wrapper">
<div class="zippy">Tiêu đề 2</div>
<div class="zippy-overflow">
<div class="zippy-content">

Nội dung

</div>
</div>
</div>
<h2>Nghiên cứu điển hình</h2>
<p>Mô tả</p>
</div>
<script src='https://code.jquery.com/jquery-3.2.1.min.js'></script>
<script>
//<![CDATA[
$(function() {
$('.zippy').on('click', function(e) {
$(this).parent().toggleClass('open');}).on('zippy-down', function(e) {
e.stopPropagation();
e.preventDefault();
return false;});});
//]]>
</script>

COMMENTS

ADS
Name

Arlethdesign,1,Blogger Template,108,Idntheme,62,Landing Page,1,Responsive Blogger Template,2,Sitemap,10,Sora Templates,1,Template AMP,3,Template Ảnh,2,Template Anime,3,Template Blog,1,Template Blogspot,108,Template Chia Sẻ Tài Liệu,1,Template Facebook,3,Template Phim,1,Template Tạp Chí,2,Template Tin Tức,2,Thủ Thuật Blogspot,120,Tool,11,
ltr
item
Thủ Thuật Blogspot: Thanh ẩn hiện theo phong cách Zippy dành cho Blogspot
Thanh ẩn hiện theo phong cách Zippy dành cho Blogspot
Thanh ẩn hiện theo phong cách Zippy dành cho Blogspot giống như Tạo nút ẩn hiện nội dung được giao diện hóa phong cách Zippy
https://dl.dropboxusercontent.com/s/ar52shigrg29tnv/Thanh-an-hien-theo-phong-cach-Zippy-danh-cho-Blogspot.png
Thủ Thuật Blogspot
https://www.thuthuatblogspot.xyz/2020/01/Thanh-an-hien-theo-phong-cach-Zippy-danh-cho-Blogspot.html
https://www.thuthuatblogspot.xyz/
https://www.thuthuatblogspot.xyz/
https://www.thuthuatblogspot.xyz/2020/01/Thanh-an-hien-theo-phong-cach-Zippy-danh-cho-Blogspot.html
true
3499987058798930668
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content