-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.css
53 lines (46 loc) · 1013 Bytes
/
blog.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
.button {
border-radius: 40px;
background-color: #bbacf7;
border: none;
color: #faf7f7;
text-align: center;
font-size: 18px;
padding: 16px;
width: 200px;
transition: all 0.5s;
cursor: pointer;
margin: 36px;
box-shadow: 0 10px 20px -8px rgba(244, 241, 241, 0.7);
}
.button{
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.button:after {
content: '»';
position: absolute;
opacity: 0;
top: 14px;
right: -20px;
transition: 0.5s;
}
.button:hover{
padding-right: 24px;
padding-left:8px;
-ms-transform: scale(1.2); /* IE 9 */
-webkit-transform: scale(1.2);
}
.button:hover:after {
opacity: 1;
right: 10px;
}
img{
transition: transform .2s;
}
img:hover {
-ms-transform: scale(1.1); /* IE 9 */
-webkit-transform: scale(1.1); /* Safari 3-8 */
transform: scale(1.1);
}