irongit

motivation section is responsive

huncholanehuncholaneauthored
parent 217f105commit 82d782a5970450df9bfc8490e84c20a407e052a3Browse files

2 files changed, +12 -5

+6-5twench_landing_page/components/MotivationSection/MotivationSection.css
@@ -11,9 +11,10 @@
1111 }
1212
1313 .MotivationSection .Text {
14- @apply text-white absolute;
15- @apply left-[35%];
16- @apply right-[7%];
17- @apply top-[20%];
18- @apply text-[40px];
14+ @apply text-white absolute rounded-md p-2 bg-black left-[5%] top-[60%] right-[30%] bg-opacity-80;
15+ @apply 424:top-[70%];
16+ @apply 552:top-[5%] 552:left-[45%] 552:right-[5%] 552:text-[20px] 552:bg-transparent;
17+ @apply 902:top-[10%] 902:left-[35%] 902:text-[27px];
18+ @apply 1100:text-[42px];
19+ @apply 1680:text-[50px] 1680:top-[15%] 1680:right-[15%];
1920 }
+6-0twench_landing_page/tailwind.config.ts
@@ -16,6 +16,12 @@ const config: Config = {
1616 },
1717 screens: {
1818 xs: "456px",
19+ "424": "424px",
20+ "552": "552px",
21+ "664": "664px",
22+ "902": "902px",
23+ "1100": "1100px",
24+ "1680": "1680px",
1925 },
2026 },
2127 },