fix responsiveness, fix scrolling text
This commit is contained in:
+11
-6
@@ -1,7 +1,17 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
@theme {
|
||||
--breakpoint-xs: 400px
|
||||
--breakpoint-xs: 400px;
|
||||
--animate-scroll-left: scroll-left 10s linear infinite;
|
||||
|
||||
@keyframes scroll-left {
|
||||
0% {
|
||||
transform: translateX(50%);
|
||||
}
|
||||
100% {
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -18,9 +28,4 @@ body {
|
||||
background-color:gray;
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes scroll {
|
||||
0% { transform: translateX(100%); }
|
||||
100% { transform: translateX(-100%); }
|
||||
}
|
||||
Reference in New Issue
Block a user