Home > Web Front-end > HTML Tutorial > HTML5 responsive banner production tutorial

HTML5 responsive banner production tutorial

php中世界最好的语言
Release: 2017-11-29 14:41:54
Original
3784 people have browsed it

This time I will show you how to create a responsive banner using HTML5. How to create special effects using H5? What are the precautions of HTML5 responsive banner? The following is a practical case, let’s take a look.

<!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>
Copy after login

I believe you have mastered the methods after reading these cases. For more exciting information, please pay attention to other related articles on the php Chinese website!


Related reading:

The relationship between the renderings of the web page and DIV+CSS

HTML5 video and audio implementation steps

Js process of operating mouse events

The above is the detailed content of HTML5 responsive banner production tutorial. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template