-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·83 lines (68 loc) · 1.26 KB
/
Copy pathstyle.css
File metadata and controls
executable file
·83 lines (68 loc) · 1.26 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
72
73
74
75
76
77
78
79
html {
height: 100%;
}
body {
margin: 0;
padding: 0;
background: #f5f5f5;
background: linear-gradient(to bottom, #f5f5f5, #fff);
height: 100%;
overflow-x: hidden;
}
#body {
padding: 55px 10px 20px;
}
.box {
display: inline-block;
width: 80px;
height: 80px;
background-color: blue;
transition: 250ms all linear;
color: #fff;
}
.box:hover {
width: 200px;
height: 200px;
}
.transition-test {
text-decoration: none;
color: #000;
font-size: 14px;
transition-duration: 1.3s;
transition-property: color;
transition-timing-function: linear;
}
.transition-test:hover {
color: red;
}
.parent {
position: relative;
height: 50px;
background-color: #fff;
}
.child {
position: absolute;
top: 0;
left: 0;
width: 50px;
height: 50px;
background-color: #8c1515;
transition-duration: 5s;
transition-property: left;
transition-delay: 2s;
/* transition-timing-function: linear;*/
/* transition-timing-function: ease-in;*/
/* transition-timing-function: ease-in-out;*/
}
.parent:hover .child {
left: calc(100% - 50px);
}
#page-title {
margin: 0 0 25px 0;
padding: 0;
border-bottom: 1px solid #aaa;
font-weight: 900;
font-family: localRobotoFontBlack;
color: #fff;
text-shadow: 0 0 5px rgba(0, 0, 0, 1);
}