-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathstyled.js
More file actions
32 lines (28 loc) · 741 Bytes
/
styled.js
File metadata and controls
32 lines (28 loc) · 741 Bytes
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
import styled from 'styled-components';
export const ErrorContainer = styled.div`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
animation: appear 0.5s ease-in forwards;
transition: transform 0.5s ease-in;
`;
export const ErrorImage = styled.img`
width: 200px;
height: 200px;
margin-bottom: 20px;
animation: shake 1s infinite alternate;
@keyframes shake {
0% { transform: rotate(-5deg); }
100% { transform: rotate(5deg); }
}
`;
export const ErrorMessage = styled.p`
font-size: 2rem;
font-weight: 400;
font-family: 'Funky', sans-serif;
color: #000;
text-align: center;
transition: transform 1s ease-in;
`;