SHOW:
|
|
- or go back to the newest paste.
1 | .footer-expander { | |
2 | height: 147px; | |
3 | overflow: hidden; | |
4 | ||
5 | @media #{$phone} { | |
6 | height: auto; | |
7 | } | |
8 | ||
9 | footer { | |
10 | transition: all 0.3s ease; | |
11 | opacity: 0; | |
12 | bottom: -147px; | |
13 | height: 147px; | |
14 | padding-top: 0px; | |
15 | flex-direction: column; | |
16 | justify-content: center; | |
17 | display: flex; | |
18 | position: relative; | |
19 | ||
20 | ||
21 | @media #{$phone} { | |
22 | position: static; | |
23 | opacity: 1; | |
24 | height: auto; | |
25 | padding-top: 40px; | |
26 | padding-bottom: 40px; | |
27 | } | |
28 | - | } |
28 | + | |
29 | } | |
30 | ||
31 | &:hover { | |
32 | footer { | |
33 | opacity: 1; | |
34 | bottom: 0px; | |
35 | } | |
36 | } | |
37 | } |