接下來,>> 點選編輯HTML >> 進入 XML編輯器
點按下面的 Code 複製 HTML碼:
<b:widget id='LinkList17' locked='false' title='特效選單❤️' type='LinkList' version='2' visible='true'>
<b:includable id='main'>
<b:include name='widget-title'/>
<b:include name='content'/>
<b:include name='style'/>
</b:includable>
<b:includable id='content'>
<div class='widget-content'>
<ul>
<b:loop values='data:links' var='link'>
<li><a expr:href='data:link.target'><data:link.name/></a></li>
</b:loop>
</ul>
</div>
</b:includable>
<b:includable id='style'>
<style type='text/css'>
.LinkList {
display: inline-block;
border: 1px solid #888;
perspective: 160px;
}
.LinkList h3{
background: white;
padding:5px 12px;
margin:0;
}
.LinkList ul{
background: linear-gradient(-50deg, #fffaa0, #f63);
padding:6px 0;
z-index: 100;
list-style: none;
box-shadow:1px 2px 8px rgba(50,50,50,0.6);
margin:1px 0;
position: absolute;
transition:opacity .8s, transform .6s cubic-bezier(.25, 1, .8, 1.1);
opacity:0; transform: rotateX(-80deg);
transform-origin: 0 0;
white-space: nowrap;
}
.LinkList:hover ul{ opacity:1; transform: rotateX(8deg);}
.LinkList ul li:hover { background:rgba(250,250,250,0.7);
border-left-color:red; box-shadow:1px 2px 3px rgba(30,30,30,0.6);}
.LinkList ul li A{ color:black; color:#666; text-shadow:1px 1px white;}
.LinkList ul li{
color:#666; text-shadow:1px 1px white;
border:3px solid transparent;
padding:5px 12px;
transition:.5s;}
</style>
</b:widget>
點按下面的 Code 複製 翻牌選單:
<b:widget id='LinkList17' locked='false' title='特效選單❤️' type='LinkList' version='2' visible='true'>
<b:includable id='main'>
<b:include name='widget-title'/>
<b:include name='content'/>
<b:include name='style'/>
</b:includable>
<b:includable id='content'>
<div class='widget-content'>
<ul>
<b:loop values='data:links' var='link'>
<li><a expr:href='data:link.target'><data:link.name/></a></li>
</b:loop>
</ul>
</div>
</b:includable>
<b:includable id='style'>
<style type='text/css'>
.LinkList {
display: inline-block;
border: 1px solid #888;
}
.LinkList h3{
background: white;
padding:5px 12px;
margin:0;
}
.LinkList .widget-content{transform:scale(0)}
.LinkList:hover .widget-content{transform:scale(1)}
.LinkList ul{
background: linear-gradient(45deg, #aaa, #fff,#ddd);
padding:6px 0;
list-style: none;
z-index: 100;
box-shadow:1px 2px 8px rgba(50,50,50,0.6);
margin:1px 0;
position: absolute;
transition:opacity .8s, transform .8s;
opacity:0; transform: rotateY(-160deg);
white-space: nowrap;
border-radius:8px;
}
.LinkList:hover ul{ opacity:1; transform: rotateY(0deg);transition-delay: 0.2s;}
.LinkList ul li:hover { background:rgba(250,250,250,0.7);
border-left-color:red; box-shadow:1px 2px 3px rgba(30,30,30,0.6);}
.LinkList ul li A{ color:black; }
.LinkList ul li{
border:3px solid transparent;
padding:5px 12px;
transition:.5s;}
</style></b:includable>
</b:widget>
點按下面的 Code 複製 關門選單:
<b:widget id='LinkList17' locked='false' title='特效選單❤️' type='LinkList' version='2' visible='true'>
<b:includable id='main'>
<b:include name='widget-title'/>
<b:include name='content'/>
<b:include name='style'/>
</b:includable>
<b:includable id='content'>
<div class='widget-content'>
<ul>
<b:loop values='data:links' var='link'>
<li><a expr:href='data:link.target'><data:link.name/></a></li>
</b:loop>
</ul>
</div>
</b:includable>
<b:includable id='style'>
<style type='text/css'>
.LinkList {
display: inline-block;
border: 1px solid #888;
}
.LinkList h3{
background:white;
padding:5px 12px;
margin:0;
}
.LinkList .widget-content{transform:scale(0)}
.LinkList:hover .widget-content{transform:scale(1)}
.LinkList ul{
background: linear-gradient(45deg, #aaa, #fff,#ddd);
padding:6px 0;
z-index: 100;
list-style: none;
box-shadow:1px 2px 8px rgba(50,50,50,0.6);
margin:1px 0;
position: absolute;
transition:opacity .8s, transform .8s;
opacity:0; transform: rotateY(-160deg);
white-space: nowrap;
border-radius:8px;
transform-origin:0;
}
.LinkList:hover ul{ opacity:1; transform: rotateY(0deg);transition-delay: 0.2s;}
.LinkList ul li:hover { background:rgba(250,250,250,0.7);
border-left-color:red; box-shadow:1px 2px 3px rgba(30,30,30,0.6);}
.LinkList ul li A{ color:black; }
.LinkList ul li{
border:3px solid transparent;
padding:5px 12px;
transition:.5s;}
</style></b:includable>
</b:widget>
調整選單的樣式內容 :
.LinkList h3{ 抬頭 標題
color: 文字顏色;
background: 底色;
padding: 內距; 可用來調整高度、寬度
}
.LinkList ul{ 選單主體
color: 文字顏色;
background: 底色;
padding: 內距; 可用來調整高度、寬度
}
.LinkList ul li{ 選項列
background: 底色;
padding: 內距; 可用來調整高度、寬度
}
.LinkList ul li a{ 選項
color: 文字顏色;
}
編輯連結清單
轉到 [版面配置]窗格 ~ 打開連結清單小工具,在設置中填寫網址和網站名稱。收合成一行時,你就可以在下一行,貼上小工具HTML碼了!!
或反白刪除、替代。
其實、在文章編輯器也有這個功能,不知道各位看倌是否有注意到?
翻牌一二三,只有差異在大小哦?
回覆刪除翻牌一二三、都是一樣的,只是內容大小不同,並沒有差異 ~唷
回覆刪除