老熟女激烈的高潮_日韩一级黄色录像_亚洲1区2区3区视频_精品少妇一区二区三区在线播放_国产欧美日产久久_午夜福利精品导航凹凸

重慶分公司,新征程啟航

為企業提供網站建設、域名注冊、服務器等服務

html5菜單欄,javascript菜單欄

HTML5 移動端上 動態固定菜單欄的問題

!doctype?html

站在用戶的角度思考問題,與客戶深入溝通,找到雙江網站設計與雙江網站推廣的解決方案,憑借多年的經驗,讓設計與互聯網技術結合,創造個性化、用戶體驗好的作品,建站類型包括:網站制作、成都網站設計、企業官網、英文網站、手機端網站、網站推廣、域名注冊、網頁空間、企業郵箱。業務覆蓋雙江地區。

html?lang="en"

head

meta?charset="UTF-8"

meta?name="viewport"

content="width=device-width,?user-scalable=no,?initial-scale=1.0,?maximum-scale=1.0,?minimum-scale=1.0"

meta?http-equiv="X-UA-Compatible"?content="ie=edge"

titleTEST/title

style

h1{

margin:?0;

}

body{

margin:?0;

height:?100%;

background-color:?#f3f3f3;

}

.header?{

padding:?15px?0;

background-color:?#fff;

border-bottom:?1px?solid?#ccc;

text-align:?center;

width:?100%;

}

.fiexd?.header{

position:?fixed;

top:?0;

}

.fiexd?ul{

margin-top:?84px;

}

/style

/head

body

ul

li

h2列表?1/h2

/li

li

h2列表?2/h2

/li

li

h2列表?3/h2

/li

li

h2列表?4/h2

/li

li

h2列表?5/h2

/li

li

h2列表?6/h2

/li

li

h2列表?7/h2

/li

li

h2列表?8/h2

/li

/ul

div?class="header"h1我是一個標題/h1/div

ul

li

h2列表?1/h2

/li

li

h2列表?2/h2

/li

li

h2列表?3/h2

/li

li

h2列表?4/h2

/li

li

h2列表?5/h2

/li

li

h2列表?6/h2

/li

li

h2列表?7/h2

/li

li

h2列表?8/h2

/li

li

h2列表?9/h2

/li

li

h2列表?10/h2

/li

li

h2列表?11/h2

/li

li

h2列表?12/h2

/li

li

h2列表?13/h2

/li

li

h2列表?14/h2

/li

li

h2列表?15/h2

/li

/ul

script

var?header?=?document.getElementsByClassName('header')[0];

var?body?=?document.body;

window.onscroll?=?function?()?{

var?scrollTop?=?document.documentElement.scrollTop?||?document.body.scrollTop;

console.log(scrollTop);

if(scrollTop??100)?{

body.className?=?'fiexd';

}?else?{

body.className?=?'';

}

}

/script

/body

/html

html5 浮動側滑菜單欄怎樣實現

一共有4種側滑動畫特效。這款CSS3菜單的特點是鼠標劃過時即可以各種動畫方式展開和隱藏菜單項,該動畫方式由CSS3中的transition-delay屬性來完成

style type="text/css"

/*Fontawesome Iconfont*/

@import url();

@import url();

* {margin: 0; padding: 0;}

li {list-style-type: none;}

.grid {float: left;width:980px;margin: 0 auto;}

.grid li { width: 285px; height: 500px; overflow: hidden; float: left; margin: 20px 0 20px 30px; position: relative; }

.grid li:hover {box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);}

.gridli section {position: relative; transition: all 0.25s; width: 100%;}

.gridli h2 {font: bold 14px montserrat; color: #fff; text-transform: uppercase; position: absolute; text-align: center; width: 60%; left: 20%; top: 100px; padding: 10px 0; border: 2px solid white; border-radius: 4px;}

.sidenav { position: absolute; top: 0; left: 0; bottom: 0; background: linear-gradient(rgba(50,60,60, 1), rgba(50,60,60, 0.7)); width: 50px; transition: all 0.25s; overflow: hidden; padding-top: 100px;}

.sidenav li { _overflow: hidden; width: 150px; }

.sidenav a { text-decoration: none; color: #eee; display: block; line-height: 48px; }

.sidenav span {display: block;}

.sidenav b { padding-left 10px; display: block; color: white; font-family: Montserrat; font-size: 12px; line-height: 4; opacity: 0; }

.sidenav a i { display: block; float: left; font-size: 16px; line-height: 48px; width: 50px; text-align: center; }

/*All instances*/

.gridli:hover .sidenav {width: 150px;}

.gridli:hover section {margin-left: 150px;}

.gridli:hover b {opacity: 1;}

.sidenav li:nth-child(1) b, .sidenav li:nth-child(1) a {transition-delay: .08s;}

.sidenav li:nth-child(2) b, .sidenav li:nth-child(2) a {transition-delay: .16s;}

.sidenav li:nth-child(3) b, .sidenav li:nth-child(3) a {transition-delay: .24s;}

.sidenav li:nth-child(4) b, .sidenav li:nth-child(4) a {transition-delay: .32s;}

.sidenav li:nth-child(5) b, .sidenav li:nth-child(5) a {transition-delay: .40s;}

.sidenav li:nth-child(6) b, .sidenav li:nth-child(6) a {transition-delay: .48s;}

/*Three*/

.three .w {transform: perspective(100px) translateZ(-24px);}

.three b {transform: perspective(100px) rotateY(180deg) translateZ(24px) scale(0.5); }

.three:hover b {transform: perspective(100px) rotateY(0) translateZ(24px) scale(1); transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); background: transparent;}

.three .sidenav {width: 150px;}

/*Two*/

.two .w {transform: perspective(100px) translateZ(-24px);}

.two b {transform: perspective(100px) rotateX(90deg) translateZ(24px) scale(1.5); opacity: 0; }

.two:hover b {transform: perspective(100px) rotateX(0) translateZ(24px) scale(1); transition: all .4s; opacity: 1;}

.two .sidenav {width: 150px;}

/*One*/

.one .w {transform: perspective(100px);}

.one b {transform: perspective(100px) rotateY(90deg); _opacity: 0; transform-origin: left center; _border: 1px solid white;}

.one:hover b {transform: perspective(100px) rotateX(0); transition: all .4s; opacity: 1;}

.one .sidenav {width: 150px;}

.one .sidenav span {float: left; width: 100px;}

/style

!--[if IE]

script src=""/script

![endif]--

/head

body

div class="htmleaf-container"

header class="htmleaf-header bgcolor-11"

div class="htmleaf-demo center"

a href="index.html"DEMO1/a

a href="index2.html" class="current"DEMO2/a

a href="index3.html"DEMO3/a

a href="index4.html"DEMO4/a

/div

div style="text-align:center;clear:both;"

script src="/gg_bd_ad_720x90.js" type="text/javascript"/script

script src="/follow.js" type="text/javascript"/script

/div

/header

div class="htmleaf-content bgcolor-8"

ul class="grid"

li class="one"

ul class="sidenav"

liai class="fa fa-check"/ispan class="w"bTasks/b/span/a/li

liai class="fa fa-inbox"/ispan class="w"bMessages/b/span/a/li

liai class="fa fa-pencil"/ispan class="w"bNew Post/b/span/a/li

liai class="fa fa-cog"/ispan class="w"bSettings/b/span/a/li

liai class="fa fa-star"/ispan class="w"bStarred/b/span/a/li

liai class="fa fa-power-off"/ispan class="w"bLogout/b/span/a/li

/ul

section

h2Door Opening/h2

img src="img/mb1.png"/

/section

/li

li class="two"

ul class="sidenav"

liai class="fa fa-check"/ispan class="w"bTasks/b/span/a/li

liai class="fa fa-inbox"/ispan class="w"bMessages/b/span/a/li

liai class="fa fa-pencil"/ispan class="w"bNew Post/b/span/a/li

liai class="fa fa-cog"/ispan class="w"bSettings/b/span/a/li

liai class="fa fa-star"/ispan class="w"bStarred/b/span/a/li

liai class="fa fa-power-off"/ispan class="w"bLogout/b/span/a/li

/ul

section

h2Flip Down/h2

img src="img/mb2.png"/

/section

/li

li class="three"

ul class="sidenav"

liai class="fa fa-check"/ispan class="w"bTasks/b/span/a/li

liai class="fa fa-inbox"/ispan class="w"bMessages/b/span/a/li

liai class="fa fa-pencil"/ispan class="w"bNew Post/b/span/a/li

liai class="fa fa-cog"/ispan class="w"bSettings/b/span/a/li

liai class="fa fa-star"/ispan class="w"bStarred/b/span/a/li

liai class="fa fa-power-off"/ispan class="w"bLogout/b/span/a/li

/ul

HTML5怎么做導航欄

建議使用FF,Safari,舉個例子:

!doctype html

html

head

titleHTML5+CSS3+JavaScript/title

meta http-equiv="Content-Type" content="text/html; charset=gb2312" /

meta http-equiv="Content-Type" content="text/html; charset=gbk" /

meta http-equiv="Content-Type" content="text/html; charset=utf-8" /

meta http-equiv="Content-Language" content="zh-cn" /

meta name="Generator" content="EditPlus"

meta name="Author" content=""

meta name="Keywords" content=""

style type="text/css"

body {

behavior: url(ie-css3.htc);

}

* {margin:0 auto;padding:0;}

body {font-size:13px;font-family:Arial;}

ul li {list-style:none;}

#menu {

width:982px;

height:35px;

margin-top:20px;display:block;

background: #e3e3e3;

background: -moz-linear-gradient(top, #ccc, #999);

background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#999));

-moz-box-shadow: 1px 1px 3px #333;

-webkit-box-shadow: 1px 1px 3px #333;

box-shadow: 1px 1px 3px #333;

-webkit-border-top-left-radius:4px;;

-webkit-border-top-right-radius:4px;

-moz-border-radius-topleft:4px;

-moz-border-radius-topright:4px;

-webkit-border-bottom-left-radius:4px;

-webkit-border-bottom-right-radius:4px;

-moz-border-radius-bottomleft:4px;

-moz-border-radius-bottomright:4px;

-o-border-radius:4px;

-khtml-border-radius:4px;

text-shadow: 0 1px 0 white;

}

#menu ul {

margin-left:0;

}

#menu ul li {

display:inline;

}

#menu ul li a:link, a:visited {

text-align:center;float:left;width:6.8em;text-decoration:none;padding:7.5px 0.75em;font-size:16px;font-weight:bold;margin-top:0px;border-right:1px solid #ccc;color: #454545;

}

#menu ul li a:hover {

text-decoration:none;

background:-webkit-gradient(linear, left top, left bottom, from(#333), to(#ccc));

background: -moz-linear-gradient(top, #333, #ccc);

-webkit-background-size:0 35px;

color: #ddd;

text-shadow: 0 1px 0 black;

}

.text {

border:1px solid gray;width:150px;height:17px;position:relative;top:8px;left:13px;font-family:Arial;

-webkit-border-top-left-radius:90px;;

-webkit-border-top-right-radius:90px;

-moz-border-radius-topleft:90px;

-moz-border-radius-topright:90px;

-webkit-border-bottom-left-radius:90px;

-webkit-border-bottom-right-radius:90px;

-moz-border-radius-bottomleft:90px;

-moz-border-radius-bottomright:90px;

-o-border-radius:90px;

-khtml-border-radius:90px;

}

/style

script language="JavaScript" type="text/javascript"

(function()

{

if(!0)

return;

var e = "abbr,article,aside,audio,bb,canvas,datagrid,datalist,details,dialog, eventsource,figure,footer,hgroup,header,mark,menu,meter,nav,output,progress,section,time,video".split(','),i=0,length=e.length;

while(ilength)

{

document.createElement_x(e[i++])

}

})();

/script

/head

body

menu id="menu"form action="index.php" method="get"

ul

lia href="#" title="HomePage"HomePage/a/li

lia href="#" title="Introuduce"Introuduce/a/li

lia href="#" title="Products"Products/a/li

lia href="#" title="My album"My album/a/li

lia href="#" title="Shopping"Shopping/a/li

lia href="#" title="Contact our"Contact our/a/li

/ul

input type="search" class="text" value="search..." //form

/menu

body


網頁名稱:html5菜單欄,javascript菜單欄
文章分享:http://www.xueling.net.cn/article/dsdioid.html

其他資訊

在線咨詢
服務熱線
服務熱線:028-86922220
TOP
主站蜘蛛池模板: 久久久国产乱子伦精品作者 | 欧美亚洲伦理片 | 亚洲国产欧美精品 | 麻豆传媒观看 | 国产视频九九 | 日韩国产成人精品 | 日韩爱爱网 | 青青一区二区三区 | 欧美人与动性xxxxBBBB | 久久国产精品国产精品 | 男人j捅女人p | 午夜a级毛片免费观看 | 天天操婷婷 | 久久精品无码免费不卡 | 农村末发育av片四区五区 | 亚洲一区二区三区精品在线观看 | 日本视频网 | 2020无码专区人妻系列 | 秋霞鲁丝片无码av | 亚洲免费黄色录像 | 久久婷婷国产91天堂综合精品 | 91在线视频福利 | 国产99久久 | 欧美一级黄色片免费观看 | 91大神唐先生22部在线观看 | a极毛片| 一区二区三区四区视频在线观看 | 亚洲理论av | 国产特色特黄的视频免费观看 | 殴美性猛交 | 精品久久久久久免费人妻 | 丰满少妇熟乱XXXXX视频 | 人妻丝袜中文无码av影音先锋专区 | 久久久免费精品国产一区二区 | 日韩精品不卡一区二区 | 一个色亚洲 | 成人永久免费网站在线观看 | 日本视频中文字幕一区二区三区 | 精品国产乱码久久久久久老虎 | 亚洲欧美视频在线观看 | 嘿咻嘿咻免费区在线观看 |