forked from vladocar/CSS3-Fancy-Box
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss3-fancy-box.css
More file actions
71 lines (59 loc) · 1.77 KB
/
Copy pathcss3-fancy-box.css
File metadata and controls
71 lines (59 loc) · 1.77 KB
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
.fancybox{
/* use personalized width */
width:300px;
/* use personalized height */
height:300px;
background-color:#fff;
padding:10px;
/* change the postion of the box */
position:absolute; left:50%; margin-left:-150px; top:100px;
border: 8px solid #333;
display:none;
}
.transparent-border{
border: 8px solid rgba(0,0,0,0.2);
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
}
.rounded{
-webkit-border-radius: 16px;
-moz-border-radius: 16px;
border-radius: 16px;
}
.shadow{
-moz-box-shadow: 2px 2px 2px #666;
-webkit-box-shadow: 2px 2px 2px #666;
box-shadow: 2px 2px 2px #666;}
.animate{
-webkit-animation: openanim 1s;
-moz-animation: openanim 1s;
-ms-animation: openanim 1s;
}
.show:target {
display:block;
}
.close{ position:absolute; top:-16px; right:-16px; z-index:5; vertical-align:middle; line-height:1; font-family:Arial, sans-serif; text-decoration:none; font-weight:bold; background-color:#000; border:3px solid #fff; color:#fff; display:block; width:20px; height:20px; text-align:center; -moz-border-radius: 40px; -webkit-border-radius: 40px; border-radius: 40px; -moz-box-shadow: 0 0 1px 1px #666;-webkit-box-shadow: 0 0 1px 1px #666;box-shadow: 0 0 1px 1px #666;
}
.left-close{
left:-16px;
}
.description{
position:absolute; bottom:0; left:0; width:100%; height:30px; padding:5px 0; text-align:center; background-color:rgba(0,0,0,0.2); color:#fff;}
.blackoutline{
outline:2000px solid rgba(0,0,0,0.4);
}
@-webkit-keyframes openanim {
0% { opacity: 0.0; }
50% { opacity: 0.5; }
100% { opacity: 1.0; }
}
@-moz-keyframes openanim {
0% { opacity: 0.0; }
50% { opacity: 0.5; }
100% { opacity: 1.0; }
}
@-ms-keyframes openanim {
0% { opacity: 0.0; }
50% { opacity: 0.5; }
100% { opacity: 1.0; }