-
Notifications
You must be signed in to change notification settings - Fork 0
/
Learn CSS (4).css
93 lines (92 loc) · 1.48 KB
/
Learn CSS (4).css
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
html.body{
padding: 0;
margin: 0;
width: 100%;
height: 100%;
position: relative;
}
#wrapper {
width: 100%;
min-height: 100%;
overflow: hidden;
}
#blackwall {
background: rgba(120,255,12,0.6);
position : absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
heigh: 100%;
z-index: 9999;
display: none;
}
#modal{
width: 100%;
max-width: 500px;
min-height: 300px;
box-sizing: border-box;
background: #fff;
border-radius: 5px;
margin: 10% auto 0;
box-shadow: 1px 2px 30px #af0;
overflow: hidden;
transition: all 1s ease;
transform: scale(1,1);
}
#modal-header{
width: 100%;
height: 60px;
line-height: 60px;
padding: 0 25px;
color: #fff;
font-family: oswald;
background: #6CB344;
box-sizing: border-box;
}
#modal-header h1{
margin: 0;
font-size: 22px;
float: left;
}
#modal-header .hider{
float: right;
cursor: pointer;
transition: all 2s ease;
}
#modal-header .hider:hover{
transform: scale(1.2,1.2);
transition: all 0.5s ease;
}
#modal-body{
font-family: arial;
box-sizing: border-box;
padding: 5px 15px;
color: #333;
text-align: justify;
}
.blockScroll{
overflow: hidden;
}
#callModal {
position: absolute;
top: 40%;
left: 50%;
background-color: #0da;
color: #030;
width: 100px;
height: 50px;
border-radius: 0px 0px 10px 10px;
transform: translate(-50px, 0px);
transition: all 0.2s linear;
}
#callModal:hover {
background-color: #0d3;
color: #050;
transform: scale(1.1, 1.1) translate(-45px, 0px);
border-radius: 15px;
}
p {
padding: 20px;
}