首页 > 软件开发 > JQUERY >

jQuery+css3向右旋转90度幻灯效果

来源:互联网 2023-03-16 23:54:47 301

jQuery css3向右旋转90度幻灯效果V7X办公区 - 实用经验教程分享!

工具/原料

  • adobe dreamweaver

方法/步骤

  • 1

    准备好需要用到的图标。V7X办公区 - 实用经验教程分享!

    jQuery css3向右旋转90度幻灯效果V7X办公区 - 实用经验教程分享!

    jQuery css3向右旋转90度幻灯效果V7X办公区 - 实用经验教程分享!

  • 2

    新建html文档。V7X办公区 - 实用经验教程分享!

    jQuery css3向右旋转90度幻灯效果V7X办公区 - 实用经验教程分享!

  • 3

    书写hmtl代码。V7X办公区 - 实用经验教程分享!

    div id="slideShowContainer">V7X办公区 - 实用经验教程分享!

    div id="slideShow">V7X办公区 - 实用经验教程分享!

    ul>V7X办公区 - 实用经验教程分享!

    li>img src="images/photos/1.jpg" width="100%" alt="Fish" />/li>V7X办公区 - 实用经验教程分享!

    li>img src="images/photos/2.jpg" width="100%" alt="Ancient" />/li>V7X办公区 - 实用经验教程分享!

    li>img src="images/photos/3.jpg" width="100%" alt="Industry" />/li>V7X办公区 - 实用经验教程分享!

    li>img src="images/photos/4.jpg" width="100%" alt="Rain" />/li>V7X办公区 - 实用经验教程分享!

    /ul>V7X办公区 - 实用经验教程分享!

    /div>V7X办公区 - 实用经验教程分享!

    a id="previousLink" href="#">»/a> a id="nextLink" href="#">«/a> /div>V7X办公区 - 实用经验教程分享!

    jQuery css3向右旋转90度幻灯效果V7X办公区 - 实用经验教程分享!

  • 3本页面未经许可获取自百度经验
  • 4

    书写css代码。V7X办公区 - 实用经验教程分享!

    * { margin: 0; padding: 0; }V7X办公区 - 实用经验教程分享!

    html { background: url('../images/page_bg_tile.jpg') #202027; }V7X办公区 - 实用经验教程分享!

    body { color: #999; background-image: url('../images/contour.png'), url('../images/page_bg.jpg'); background-repeat: no-repeat, no-repeat; background-position: center 117px, center -200px; font: 15px Calibri, Arial, sans-serif; border: 1px solid transparent; }V7X办公区 - 实用经验教程分享!

    #slideShowContainer { width: 510px; height: 510px; position: relative; margin: 20px auto 50px; }V7X办公区 - 实用经验教程分享!

    #slideShow { position: absolute; height: 490px; width: 490px; background-color: #fff; margin: 10px 0 0 10px; z-index: 100; -moz-box-shadow: 0 0 10px #111; -box-shadow: 0 0 10px #111; box-shadow: 0 0 10px #111; }V7X办公区 - 实用经验教程分享!

    #slideShow ul { position: absolute; top: 15px; right: 15px; bottom: 15px; left: 15px; list-style: none; overflow: hidden; }V7X办公区 - 实用经验教程分享!

    #slideShow li { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }V7X办公区 - 实用经验教程分享!

    #slideShowContainer > a { border: none; text-decoration: none; text-indent: -99999px; overflow: hidden; width: 36px; height: 37px; background: url('../images/arrows.png') no-repeat; position: absolute; top: 50%; margin-top: -21px; }V7X办公区 - 实用经验教程分享!

    #previousLink { left: -38px; }V7X办公区 - 实用经验教程分享!

    #previousLink:hover { background-position: bottom left; }V7X办公区 - 实用经验教程分享!

    a#nextLink { right: -38px; background-position: top right; }V7X办公区 - 实用经验教程分享!

    #nextLink:hover { background-position: bottom right; }V7X办公区 - 实用经验教程分享!

    .note { margin-bottom: 40px; text-align: center; }V7X办公区 - 实用经验教程分享!

    .credit { font-size: 12px; }V7X办公区 - 实用经验教程分享!

    .credit a { color: #bbb !important; }V7X办公区 - 实用经验教程分享!

    a, a:visited { text-decoration: underline; outline: none; color: #97CAE6; }V7X办公区 - 实用经验教程分享!

    a:hover { text-decoration: none; }V7X办公区 - 实用经验教程分享!

    jQuery css3向右旋转90度幻灯效果V7X办公区 - 实用经验教程分享!

  • 5

    代码整体结构。V7X办公区 - 实用经验教程分享!

    jQuery css3向右旋转90度幻灯效果V7X办公区 - 实用经验教程分享!

  • 6

    查看效果。V7X办公区 - 实用经验教程分享!

    jQuery css3向右旋转90度幻灯效果V7X办公区 - 实用经验教程分享!

  • 以上方法由办公区教程网编辑摘抄自百度经验可供大家参考!V7X办公区 - 实用经验教程分享!


    标签: JQUERY

    办公区 Copyright © 2016-2023 www.bgqu.net. Some Rights Reserved. 备案号:湘ICP备2020019561号统计代码