Using plain CSS - syntax error? #11517
Answered
by
jackmcdade
Magnusvb
asked this question in
Troubleshooting
-
I want to use plain old CSS instead of Tailwind (sorry Chris). So, linking to the stylesheet in the header: Seems good (no 404) - but as soon as I add a rule like:
I get this error:
Does it not work to use plain CSS? |
Beta Was this translation helpful? Give feedback.
Answered by
jackmcdade
Feb 28, 2025
Replies: 1 comment 1 reply
-
No problem, you certainly can do that! But you need to use a
Also, I would recommend not keeping it in the assets directory. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Magnusvb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No problem, you certainly can do that! But you need to use a
<link>
tag instead of<script>
tag for CSS 😊Also, I would recommend not keeping it in the assets directory.