An unexpected error caused by a CSS class
See original GitHub issueDescribe the bug
Good morning, I am getting very rare error with one-block css.
It turns out that when I go to my “projects” web section, it slows down and takes a long time to load the page. Once loaded the project cards also take time to show the animations when making a hover.
The console does not throw errors but I identified what it is. It’s because of using a display: grid in my css classes.
Why could this be happening?
Reproduction
https://user-images.githubusercontent.com/3437192/142632666-985bddc3-aab4-4094-a8d6-b6ba393e6f51.mp4
Logs
The editor and browser console does not throw me an error
System Info
System:
OS: Windows 10 10.0.19042
CPU: (6) x64 Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
Memory: 8.81 GB / 15.94 GB
Binaries:
Node: 14.17.0 - C:\Program Files\nodejs\node.EXE
npm: 6.14.13 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 96.0.4664.45
Edge: Spartan (44.19041.1266.0), Chromium (95.0.1020.53)
npmPackages:
@sveltejs/kit: next => 1.0.0-next.184
svelte: ^3.44.2 => 3.44.2
Severity
annoyance
Additional Information
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
I am getting CSS SyntaxError, unexpected token {. But I can ...
I am getting CSS SyntaxError, unexpected token {. But I can not see error · 5. Your CSS file is being processed as...
Read more >Unexpected error - CSS HTML Validator Support
The Validator helpfully inform me that it is a CSS4 pseudo-class, and warns that some browsers may not support it. Fine and good....
Read more >CS4 - An unexpected error occurred while trying to... - 9512424
Lately in DW4 my CSS file has intermittently been giving me the following error when I try save or open .classes from the...
Read more >Understanding why your CSS fails - LogRocket Blog
It can be tricky to find out why your CSS isn't working as expected. Learn ways of finding and preventing weird behavior in...
Read more >500 Internal Server Error - HTTP - MDN Web Docs - Mozilla
... (HTTP) 500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I also tried vanilla css in case the problem came from postcss but the error keeps reproducing
Ok I understand, thank you very much for the clarification