HTML5响应式banner制作教程


本文摘自PHP中文网,作者php中世界最好的语言,侵删。

这次给大家带来用HTML5响应式banner制作方法,怎么用H5制作特效?HTML5响应式banner的注意事项有哪些,下面就是实战案例,一起来看一下。

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

<!DOCTYPE html>

<html>

        <head>               

                   <meta charset=utf-8 >      

                   <title>HTML5响应式banner </title>

                   <meta name="keywords" content=" HTML5响应式banner " />

                   <meta name="description" content=" HTML5响应式banner " />

                   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

                   <link rel="stylesheet" type="text/css" href="css/style.css" >

                   <link rel="stylesheet" type="text/css" href="css/skeleton.css" >

                   <link rel="stylesheet" type="text/css" href="css/flexslider.css"  >

         </head>

         <body> 

<div id="wrap">

<!-- SLIDER -->

 <div class="slider-1 clearfix"

     <div>

       <div class="flexslider loading">

        <ul>

          <li style="background:url(images/sliders/slider-1/slider-bg-1.jpg) no-repeat;background-position:50% 0">     

           <div>

           <div class="sixteen columns contain">

             <h2 data-toptitle="36%">MULTIPURPOSE THEME</h2>

             <p data-bottomtext="39%">CRAS JUSTO ODIO, DAPIBUS AC FACILISIS </p>

             <div data-bottomlinks="30%">

               <a class="button medium r-m-plus r-m-full" href="blog-single.html">READ MORE</a>

             </div>  

             <img src="images/sliders/slider-1/slider-item-1.png" alt="slide-item"  data-topimage="21%"/>

           </div>

         </div><!-- End Container -->

          </li><!-- End item -->

          <li style="background:url(images/sliders/slider-1/slider-bg-2.jpg) no-repeat; background-position:50% 0">

          <div>

           <div class="sixteen columns contain">

             <h2 data-toptitle="36%">LOREM IPSUM</h2>

             <p data-bottomtext="39%">CRAS JUSTO ODIO, DAPIBUS AC FACILISIS </p>

             <div data-bottomlinks="30%">

                      <a class="button medium r-m-plus r-m-full" href="blog-single.html">READ MORE</a>

             </div>

           </div>

         </div><!-- End Container -->

                  </li><!-- End item -->

         <li style="background:url(images/sliders/slider-1/slider-bg-3.jpg) no-repeat; background-position:50% 0">

          <div>

           <div class="sixteen columns contain">  

             <h2 data-toptitle="36%">ALES MAECENAS</h2>

             <p data-bottomtext="39%">CRAS JUSTO ODIO, DAPIBUS AC FACILISIS </p>

             <div data-bottomlinks="30%">

                                     <a class="button medium r-m-plus r-m-full" href="blog-single.html">READ MORE</a>

             </div>

                         <img src="images/sliders/slider-1/slider-item-2.png" alt="slide-item" data-topimage="24%"/>

           </div>

         </div><!-- End Container --> 

         </li><!-- End item -->

        </ul>

       </div>

      </div>

   </div>

              <div style="width: 100%; height: auto; line-height: 25px; text-align: center;">

                            </div> 

<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>

<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>

<!-- Flex Slider  -->

<script src="js/jquery.flexslider.js"></script>

<script src="js/flex-slider.js"></script>

<!-- JS end -->

     </body>

</html>

相信看了这些案例你已经掌握了方法,更多精彩请关注php中文网其它相关文章!


相关阅读:

网页的效果图与DIV+CSS关系

HTML5视频音频实现步骤

Js操作鼠标事件的流程

以上就是HTML5响应式banner制作教程的详细内容,更多文章请关注木庄网络博客

相关阅读 >>

html5-web storage apis的简述

html5文件异步上传功能的实现

html5 viewport总结讲述

html5制作转盘的详解及实例

html5实现tab切换(通过js代码)

微信html5页面如何调用第三方位置导航

html5中关于新增的几个背景属性和文本属性介绍

利用html5中的canvas绘制笑脸的代码

html5中关于音频与视频监听器应用的示例详解

你知道原生html组件是什么吗?原生html组件的介绍

更多相关阅读请进入《banner》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...