当前位置:   article > 正文

JS特效第138弹:HTML5响应式banner

JS特效第138弹:HTML5响应式banner

         HTML5响应式banner,先来看看效果:

        一部分关键的代码如下:

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset=utf-8 >
  5. <title>HTML5响应式banner -php中文网</title>
  6. <meta name="keywords" content="SVG特效, 手机微信网站特效, css3动画, html5特效, 网页特效" />
  7. <meta name="description" content="php中文网-专注于HTML5、CSS3、js、jQuery、手机移动端等网页特效的手机与分享。特效库始终坚持:无会员、无积分、无限制的“三无原则”,所有的资源都免费提供广大童鞋下载学习和使用。" />
  8. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  9. <link rel="stylesheet" type="text/css" href="css/style.css" >
  10. <link rel="stylesheet" type="text/css" href="css/skeleton.css" >
  11. <link rel="stylesheet" type="text/css" href="css/flexslider.css" >
  12. </head>
  13. <body>
  14. <div id="wrap" class="boxed">
  15. <!-- SLIDER -->
  16. <div class="slider-1 clearfix">
  17. <div class="flex-container">
  18. <div class="flexslider loading">
  19. <ul class="slides">
  20. <li style="background:url(images/sliders/slider-1/slider-bg-1.jpg) no-repeat;background-position:50% 0">
  21. <div class="container">
  22. <div class="sixteen columns contain">
  23. <h2 data-toptitle="36%">MULTIPURPOSE THEME</h2>
  24. <p data-bottomtext="39%">CRAS JUSTO ODIO, DAPIBUS AC FACILISIS </p>
  25. <div class="links" data-bottomlinks="30%">
  26. <a class="button medium r-m-plus r-m-full" href="blog-single.html">READ MORE</a>
  27. </div>
  28. <img src="images/sliders/slider-1/slider-item-1.png" class="item" alt="slide-item" data-topimage="21%"/>
  29. </div>
  30. </div><!-- End Container -->
  31. </li><!-- End item -->
  32. <li style="background:url(images/sliders/slider-1/slider-bg-2.jpg) no-repeat; background-position:50% 0">
  33. <div class="container">
  34. <div class="sixteen columns contain">
  35. <h2 data-toptitle="36%">LOREM IPSUM</h2>
  36. <p data-bottomtext="39%">CRAS JUSTO ODIO, DAPIBUS AC FACILISIS </p>
  37. <div class="links" data-bottomlinks="30%">
  38. <a class="button medium r-m-plus r-m-full" href="blog-single.html">READ MORE</a>
  39. </div>
  40. </div>
  41. </div><!-- End Container -->
  42. </li><!-- End item -->
  43. <li style="background:url(images/sliders/slider-1/slider-bg-3.jpg) no-repeat; background-position:50% 0">
  44. <div class="container">
  45. <div class="sixteen columns contain">
  46. <h2 data-toptitle="36%">ALES MAECENAS</h2>
  47. <p data-bottomtext="39%">CRAS JUSTO ODIO, DAPIBUS AC FACILISIS </p>
  48. <div class="links" data-bottomlinks="30%">
  49. <a class="button medium r-m-plus r-m-full" href="blog-single.html">READ MORE</a>
  50. </div>
  51. <img src="images/sliders/slider-1/slider-item-2.png" class="item" alt="slide-item" data-topimage="24%"/>
  52. </div>
  53. </div><!-- End Container -->
  54. </li><!-- End item -->
  55. </ul>
  56. </div>
  57. </div>
  58. </div>
  59. <div style="width: 100%; height: auto; line-height: 25px; text-align: center;">
  60. 更多网页特效,请访问<a href="http://php.cn"><b>php中文网</b></a>
  61. </div>
  62. <script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
  63. <script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
  64. <!-- Flex Slider -->
  65. <script src="js/jquery.flexslider.js"></script>
  66. <script src="js/flex-slider.js"></script>
  67. <!-- JS end -->
  68. </body>
  69. </html>

        全部代码:HTML5响应式banner

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/90991
推荐阅读
相关标签
  

闽ICP备14008679号