网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

html+css3+jquery实现上下翻转的网格

时间:2024-10-14 05:05:40

1、准备好需要用到的图标。

html+css3+jquery实现上下翻转的网格html+css3+jquery实现上下翻转的网格

2、新建html文档。

html+css3+jquery实现上下翻转的网格

4、书写css代码。.tj_container { width: 800px; height: 400px稆糨孝汶; position: relative; margin: 30px auto; }.tj_nav { position: absolute; right: -80px; top: 50%; margin-top: -35px; height: 70px; width: 39px; }.tj_nav span { width: 39px; height: 25px; background: transparent url(../images/prev.png) no-repeat top left; position: absolute; top: 0px; left: 0px; text-indent: -9000px; opacity: 0.7; cursor: pointer; }.tj_nav span.tj_next { background-image: url(../images/next.png); top: auto; bottom: 0px; left: 0px; }.tj_nav span:hover { opacity: 1.0; }.tj_wrapper { width: 100%; height: 100%; position: relative; margin: 0px auto; }.tj_wrapper ul li { float: left; }.tj_wrapper ul li a { outline: none; display: block; margin: 5px; background: transparent url(../images/bg_thumb.jpg) no-repeat center center; }.tj_wrapper ul li a img { display: block; border: none; opacity: 0.7; box-shadow: 2px 2px 4px #8e8e8e; }.tj_wrapper ul li a img:hover { opacity: 1.0; }.example10 .tj_container { height: 600px; }

html+css3+jquery实现上下翻转的网格

6、查看效果。

html+css3+jquery实现上下翻转的网格
© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com