Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token 1fr on line 159 #778

Open
arfatrahaman opened this issue Aug 5, 2022 · 1 comment
Open

Unexpected token 1fr on line 159 #778

arfatrahaman opened this issue Aug 5, 2022 · 1 comment

Comments

@arfatrahaman
Copy link

arfatrahaman commented Aug 5, 2022

Hello, I need some help. I build a responsive website using CSS grid. Everything looks good and perfect. After completing it I upload it to my hosting but when I check it from my mobile it did not look the same as what I made. My grid-template- columns are not working. It gives me an error message: "Unexpected token 1fr on line 159, column ...." I know that the grid works very well. grid-template-columns is not taken as a code for CSS.
Now my website looks bullshit. If anyone has a solution in it plz help me.

@mattiacci
Copy link
Contributor

The root cause is that csslint is no longer maintained: #754.

The workaround for general issues is to wrap the code in an ignore block, but IIRC that doesn't help with parsing issues like this.

/* csslint ignore:start */
.foo {}
/* csslint ignore:end */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants