-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.css
81 lines (72 loc) · 1.31 KB
/
home.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
.container-home {
display: flex;
align-items: center;
justify-content: center;
}
.frame-home {
width: 100%; /*or whatever you choose*/
margin: auto;
}
.container-home img {
display: block;
width: 100%;
max-width: 1920px; /*actual image width*/
height: auto; /*maintain aspect ratio*/
margin: auto; /*optional centering of image*/
}
@import "compass/css3";
// Spin animation
@keyframes spin {
to { transform: rotate(360deg); }
}
.stroke-dotted {
opacity: 0;
stroke-dasharray: 4,5;
stroke-width: 1px;
transform-origin: 50% 50%;
animation: spin 4s infinite linear;
transition: opacity 1s ease,
stroke-width 1s ease;
}
.stroke-solid {
stroke-dashoffset: 0;
stroke-dashArray: 300;
stroke-width: 4px;
transition: stroke-dashoffset 1s ease,
opacity 1s ease;
}
.icon {
transform-origin: 50% 50%;
transition: transform 200ms ease-out;
}
// Hover
#play:hover {
.stroke-dotted {
stroke-width: 4px;
opacity: 1;
}
.stroke-solid {
opacity: 0;
stroke-dashoffset: 300;
}
.icon {
transform: scale(1.05);
}
}
html {
height: 0%;
}
body {
height: 0%;
background-color: transparent;
}
#play {
cursor: pointer;
position: fixed;
bottom:0;
left:0;
margin-bottom: 15px;
margin-left: 15px;
width: 50px;
height: 50px;
}