Tailwind grid-template-areas #13411
Unanswered
LudvigAlmvaang
asked this question in
Help
Replies: 1 comment
-
I kind of solved it by using traditional css. snippet from index.css snippet from testimonials.tsx But still, I would like to know why it didn't work the way I did it first. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello :)
I am trying to use grid-template-areas in order to populate the four columns at the top with a header.
Tailwind doesn't include a utility for this so I am using brackets to write some css code, but somehow it is not working as intended.
When I inspect the div container in my web browser I can not even see the grid-template-areas property, but I can see the grid-area-header property for the h2 container.
Relevant code snippet:
Output:
Beta Was this translation helpful? Give feedback.
All reactions