-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind-base-css.css
67 lines (56 loc) · 1.21 KB
/
tailwind-base-css.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
@tailwind base;
@tailwind components;
@tailwind utilities;
*,
*::before,
*::after {
@apply box-border;
}
:root {
font-synthesis: none;
text-rendering: optimizeLegibility;
@apply antialiased;
color-scheme: light dark;
}
/* Set core root defaults */
html:focus-within {
@apply scroll-smooth;
}
body {
@apply max-w-full min-h-screen overflow-x-hidden;
}
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
@apply list-none;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
text-decoration-skip-ink: auto;
}
/* Make images easier to work with */
img,
picture {
@apply max-w-full h-auto block;
}
/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
font: inherit;
}
/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
html:focus-within {
@apply scroll-auto;
}
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}