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!