大丰
网站制作将创建两个 html5 表单,它们将使用 css3 伪类:target在登录和注册之间转换.代码如下:
<div id="container_demo" >
<!-- hidden anchor to stop jump /wenzhangimg/0704/astuce-empecher-le-scroll-avec-l-utilisation-de-target" alt=""><span>slide left</span></a></li>
<li><a href="#slide-2"><img src="img/thumb2.png" alt=""><span>slide right</span></a></li>
<li><a href="#slide-3"><img src="img/thumb3.png" alt=""><span>slide top</span></a></li>
<li><a href="#slide-4"><img src="img/thumb4.png" alt=""><span>slide bottom</span></a></li>
<li><a href="#slide-5"><img src="img/thumb5.png" alt=""><span>zoom in</span></a></li>
<li><a href="#slide-6"><img src="img/thumb6.png" alt=""><span>zoom out</span></a></li>
<li><a href="#slide-7"><img src="img/thumb7.png" alt=""><span>rotate</span></a></li>
</ul>
<ul class="s-slides">
<li class="slideleft first" id="slide-1"><img src="img/slide1.png" alt=""></li>
<li class="slideright" id="slide-2"><img src="img/slide2.png" alt=""></li>
<li class="slidetop" id="slide-3"><img src="img/slide3.png" alt=""></li>
<li class="slidebottom" id="slide-4"><img src="img/slide4.png" alt=""></li>
<li class="zoomin" id="slide-5"><img src="img/slide5.png" alt=""></li>
<li class="zoomout" id="slide-6"><img src="img/slide6.png" alt=""></li>
<li class="rotate" id="slide-7"><img src="img/slide7.png" alt=""></li>
</ul>
</div>
.slider-wr手机运用er ul,
.slider-wr手机运用er li,
.slider-wr手机运用er div,
.slider-wr手机运用er img,
.slider-wr手机运用er a {
margin: 0;
padding: 0;
border: none;
outline: none;
list-style: none;
}
.slider-wr手机运用er {
width: 508px;
overflow: hidden;
}
ul.s-thumbs li {
float: left;
}
ul.s-slides,
ul.s-slides li,
ul.s-slides a,
ul.s-slides img {
width: 500px;
height: 350px;
position: relative;
}
ul.s-slides {
overflow: hidden;
clear: both;
}
ul.s-slides li {
position: absolute;
z-index: 50;
}
ul.s-thumbs li {
float: left;
margin-bottom: 10px;
margin-right: 11px;
}
ul.s-thumbs li:last-child {
margin-left: 1px;
margin-right: 0;
}
ul.s-thumbs a {
display: block;
position: relative;
width: 55px;
height: 55px;
border: 4px solid transparent;
-网站kit-transition: all 0.25s ease-in-out;
-moz-transition: all 0.25s ease-in-out;
-o-transition: all 0.25s ease-in-out;
-ms-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;
font: bold 12px/25px arial, sans-serif;
color: #515151;
text-decoration: none;
text-shadow: 1px 1px 0px rgba(255,255,255,.25), inset 1px 1px 0px rgba(0,0,0,.15);
}
ul.s-thumbs img {
-网站kit-box-shadow: 1px 1px 5px rgba(0,0,0,.5);
-moz-box-shadow: 1px 1px 5px rgba(0,0,0,.5);
box-shadow: 1px 1px 5px rgba(0,0,0,.5);
}
ul.s-thumbs a:hover,
ul.s-slides {
border: 4px solid #141517;
-网站kit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-网站kit-box-shadow: 0px 1px 0px rgba(255,255,255,.05);
-moz-box-shadow: 0px 1px 0px rgba(255,255,255,.05);
box-shadow: 0px 1px 0px rgba(255,255,255,.05);
}
以上就是
大丰网站制作登录注册表单和图像内容滑块的全部html和css的全部内容,大家有没有看懂的地方可以给我留言,我会一一为大家解答,如果大家还有不会的效果可以给我留言,我会在下期的文章中为大家答疑解惑,感谢各位大佬的关注与兼容,以此致谢!