Not displaying two columns #19939
Unanswered
kemalgencay
asked this question in
Help
Replies: 3 comments 4 replies
-
|
It seems like your --- a/style.css
+++ b/style.css
@@ -14,6 +14,7 @@
--color-white: #fff;
--spacing: 0.25rem;
--container-3xl: 48rem;
+ --container-5xl: 64rem;
--text-sm: 0.875rem;
--text-sm--line-height: calc(1.25 / 0.875);
--text-3xl: 1.875rem;
@@ -185,27 +186,30 @@
.flex {
display: flex;
}
+ .grid {
+ display: grid;
+ }
.inline-block {
display: inline-block;
}
- .table {
- display: table;
- }
- .max-w-3xl {
- max-width: var(--container-3xl);
- }
- .border-collapse {
- border-collapse: collapse;
+ .max-w-5xl {
+ max-width: var(--container-5xl);
}
- .resize {
- resize: both;
+ .grid-cols-2 {
+ grid-template-columns: repeat(2, minmax(0, 1fr));
}
.flex-wrap {
flex-wrap: wrap;
}
+ .items-center {
+ align-items: center;
+ }
.justify-center {
justify-content: center;
}
+ .gap-5 {
+ gap: calc(var(--spacing) * 5);
+ }
.space-y-5 {
:where(& > :not(:last-child)) {
--tw-space-y-reverse: 0;
@@ -228,10 +232,6 @@
.rounded-xl {
border-radius: var(--radius-xl);
}
- .border {
- border-style: var(--tw-border-style);
- border-width: 1px;
- }
.bg-fuchsia-700 {
background-color: var(--color-fuchsia-700);
}
@@ -288,13 +288,6 @@
.text-white {
color: var(--color-white);
}
- .underline {
- text-decoration-line: underline;
- }
- .outline {
- outline-style: var(--tw-outline-style);
- outline-width: 1px;
- }
.transition-colors {
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
@@ -330,11 +323,6 @@
inherits: false;
initial-value: 0;
}
-@property --tw-border-style {
- syntax: "*";
- inherits: false;
- initial-value: solid;
-}
@property --tw-font-weight {
syntax: "*";
inherits: false;
@@ -343,19 +331,12 @@
syntax: "*";
inherits: false;
}
-@property --tw-outline-style {
- syntax: "*";
- inherits: false;
- initial-value: solid;
-}
@layer properties {
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
*, ::before, ::after, ::backdrop {
--tw-space-y-reverse: 0;
- --tw-border-style: solid;
--tw-font-weight: initial;
--tw-tracking: initial;
- --tw-outline-style: solid;
}
}
}
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
should I run npx @tailwindcss/cli -i ./src/input.css -o ./src/output.css --watch |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
I did not change anything in index.html except the new output.css but not working |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
repo: https://github.com/kemalgencay/SPAhtml
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions