-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
70 lines (58 loc) · 1.4 KB
/
style.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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500&display=swap");
* {
box-sizing: border-box;
/* No Selection */
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
body {
background-image: linear-gradient(315deg, #e2cfea 0%, #6247aa 100%);
background-attachment: fixed;
font-family: "Poppins", sans-serif;
display: flex;
flex-direction: row;
align-items: center;
height: 100vh;
margin: 0;
}
.flip-card-inner {
transition: transform 0.6s;
transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
transform: rotateY(180deg);
}
.portuguese-box {
transform: rotateY(180deg);
}
.container {
display: flex;
flex-direction: row;
justify-content: center;
padding: 1em;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
font-size: 2em;
width: 100%;
}
.caret-btn {
font-size: 60px;
margin: auto;
}
.caret-btn a {
color: black;
}
/* RESPONSIVE SIZES */
.flip-card {
width: 100%;
}
@media screen and (min-width: 400px) {
.flip-card {
width: 375px;
}
}