本篇文章给大家谈谈html5手机网站源码分享,以及html5移动端网页app源码对应的知识点,文章可能有点长,但是希望大家可以阅读完,增长自己的知识,最重要的是希望对各位有所帮助,可以解决了您的问题,不要忘了收藏本站喔。
效果图
各位朋友大家中午好!
今天给大家带来的是适应手机端的jQuery图片滑块动画DEMO演示
大家可以按照自己的意愿进行修改!
有想获取文件版源码的请加裙581549454
废话不多说,上源码!
CSS源码:
/*MeyerWebReset*/
html,body,div,span,applet,object,iframe,
h1,h2,h3,h4,h5,h6,p,blockquote,pre,
a,abbr,acronym,address,big,cite,code,
del,dfn,em,img,ins,kbd,q,s,samp,
small,strike,strong,sub,sup,tt,var,
b,u,i,center,
dl,dt,dd,ol,ul,li,
fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td,
article,aside,canvas,details,embed,
figure,figcaption,footer,header,hgroup,
menu,nav,output,ruby,section,summary,
time,mark,audio,video{
margin:0;
padding:0;
border:0;
font:inherit;
vertical-align:baseline;
}
/*Basetextstyles*/
body{
padding:10px50px00;
font-family:”HelveticaNeue”,Helvetica,Arial,sans-serif;
font-size:14px;
color:FFF;
margin:0;
line-height:1.8em;
-webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5,h6{
color:ccc;
padding-bottom:5px;
}
h1{
font-size:30px;
}
h2{
font-size:24px;
}
h3{
font-size:18px;
}
h4,h5,h6{
font-family:Arvo,Monaco,serif;
font-weight:700;
}
a{
color:444;
}
dldt{
font-weight:bold;
}
dldd{
padding-left:20px;
font-style:italic;
}
dlp{
padding-left:20px;
font-style:italic;
}
hr{
border:0;
background:ccc;
}
pimg{
display:inline;
margin:0;
padding:0;
vertical-align:middle;
text-align:center;
border:none;
}
/*Codeblocks*/
code,pre{
font-family:Monaco,”BitstreamVeraSansMono”,”LucidaConsole”,Terminal,monospace;
color:FDFEFB;
border-radius:4px;
border:1pxsolidccc;
margin-bottom:32px;
text-align:left;
}
th{
font-family:’Arvo’,Helvetica,Arial,sans-serif;
font-size:18px;
font-weight:normal;
padding:10px;
background:FDFEFB;
}
td{
padding:10px;
background:171717;
color:000;
-webkit-border-top-right-radius:4px;
-webkit-border-bottom-right-radius:4px;
-moz-border-radius-topright:4px;
-moz-border-radius-bottomright:4px;
border-top-right-radius:4px;
border-bottom-right-radius:4px;
padding:34px25px22px50px;
margin:30px25px00;
-webkit-font-smoothing:antialiased;
}
p.header{
font-size:16px;
}
h1.header{
font-family:Arvo,sans-serif;
font-size:30px;
font-weight:300;
line-height:1.3em;
border-bottom:none;
margin-top:0;
}
h1.header,a.header,a.name,headera{
color:AF0011;
background:-moz-linear-gradient(top,820011100%);
background:-webkit-gradient(linear,lefttop,leftbottom,color-stop(0%,dddddd));
background:-webkit-linear-gradient(top,820011100%);
background:-o-linear-gradient(top,820011100%);
background:-ms-linear-gradient(top,820011100%);
background:linear-gradient(top,820011100%);
border-radius:4px;
border:1pxsolidC3001D;
background:-moz-linear-gradient(top,950119100%);
background:-webkit-gradient(linear,lefttop,leftbottom,color-stop(0%,dddddd));
background:-webkit-linear-gradient(top,950119100%);
background:-o-linear-gradient(top,950119100%);
background:-ms-linear-gradient(top,950119100%);
background:linear-gradient(top,950119100%);
}
a.buttons{
-webkit-font-smoothing:antialiased;
background:url(../images/arrow-down.png)no-repeat;
font-weight:normal;
text-shadow:rgba(0,0,0,0.4)0-1px0;
padding:2px2px2px22px;
height:30px;
}
a.github{
background:url(../images/octocat-small.png)no-repeat1px;
}
a.buttons:hover{
color:ccc;
margin:084px050px;
padding:0;
}
header{
padding-right:320px;
}
section{
padding:20px84px20px50px;
margin:0020px;
}
headerasmall{
display:inline;
}
headerul{
position:absolute;
right:130px;
top:84px;
}
}
@mediaprint,screenand(max-width:720px){
body{
word-wrap:break-word;
}
header{
padding:10px20px0;
margin-right:0;
}
section{
padding:10px010px20px;
margin:0030px;
}
footer{
margin:00030px;
}
headerul,headerp.view{
position:static;
}
}
@mediaprint,screenand(max-width:480px){
headerulli.download{
display:none;
}
footer{
margin:00020px;
}
footera{
display:block;
}
}
@mediaprint{
body{
padding:0.4in;
font-size:12pt;
color:iSlider-effect-wrapper{
height:517.5px;
width:375px;
margin:0auto;
background:url(‘../images/bg_1.png’)no-repeattopcenter;
background-size:100%;
overflow:hidden;
position:relative;
}
.iSlider-effect{
height:310.5px;
width:225px;
overflow:hidden;
position:relative;
margin:0auto;
border:1pxsolidffffff;
padding:3px;
}
menu-selectspan{
display:inline-block;
border:2pxsolidanimation-effect{
border:0;
width:204px;
height:357px;
background-color:animation-effectulliimg{
border:0;
}
e74c3c;
}
e74c3c;
}
OK,关于html5手机网站源码分享和html5移动端网页app源码的内容到此结束了,希望对大家有所帮助。
