CSS: Focus for Fast Image carousel production, css image focus

Source: Internet
Author: User

CSS: Focus for Fast Image carousel production, css image focus

Source: http://www.ido321.com/858.html

 

:

Demo address: http://jsfiddle.net/Web_Code/q5qfd8aL/embedded/result/

Code:

   1: <!DOCTYPE html>
   2: 
   3: 
   4:     <meta http-equiv="content-type" content="text/html;charset=utf-8">
5: <title> image carousel focus </title>
   6:     <style type="text/css">
   7:         .div
   8:         {
   9:             width: 240px;
  10:             position: absolute;
  11:         }
  12:         ul
  13:         {
  14:             list-style: none;
  15:             margin-left: -50px;
  16:         }
  17:         ul li
  18:         {
  19:             width: 50px;
  20:             height: 50px;
  21:             margin-left: 10px;
  22:             float: left;
  23:             border: 1px solid #ccc;
  24:             background-color: #ccc;
  25:             border-radius:25px;
  26:             text-align: center;
  27:         }
  28:         li:hover
  29:         {
  30:             background-color: red;
  31:         }
  32:         span
  33:         {
  34:             font-size: 30px;
  35:             line-height: 50px;
  36:         }
  37:     </style>
  38: 
  39: <body>
  40:     <div class="div">
  41:         <ul>
  42:             <li><span>1</span></li>
  43:             <li><span>2</span></li>
  44:             <li><span>3</span></li>
  45:             <li><span>4</span></li>
  46:         </ul>
  47:     </div>
  48: </body>

 


Who can help me make a DIV + CSS + JS image carousel?

Try switching the focus chart
Switch with 12345 numbers
If you click a number, it will change to another image. If you do not click it, it will change automatically.
The tutorials and source code are provided.
Reference: www.blueidea.com/..20.10895

How to make image carousel special effects under the layout structure of div + css?

I just made a case like you. Hope to communicate with each other!

The attachment contains the case and is intended to be accepted!



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.