-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss3.css
More file actions
71 lines (67 loc) · 781 Bytes
/
css3.css
File metadata and controls
71 lines (67 loc) · 781 Bytes
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
69
70
71
*{
padding: 0;
margin: 0;
}
li
{
list-style-type: none;
height: 100%;
width:400px;
position: absolute;
}
a
{
text-decoration: none;
padding: 5px;
border-radius: 50%;
background-color: #fff;
opacity: .8;
}
.banner
{
height: 200px;
width: 400px;
position: relative;
}
.sliders
{
height: 100%;
width: 300%;
position:absolute;
}
#slider1,#slider2,#slider3
{
transition: left 1s;
}
#slider1
{
background-color: cyan;
}
#slider1:target
{
left: 0%;
}
#slider2
{
background-color:red;
left: 33.33%;
}
#slider2:target
{
left: 0%;
}
#slider3
{
background-color:darkgreen;
left: 66.66%;
}
#slider3:target
{
left: 0;
}
.btns
{
position:absolute;
bottom: 10px;
right: 5px;
}