W
W
Woshibai2021-03-20 13:51:50
Sass
Woshibai, 2021-03-20 13:51:50

Error: Invalid CSS after "...: border-box; }": expected 1 selector or at-rule, was "focus,: {}"?

Error
: Invalid CSS after "...: border-box; }": expected 1 selector or at-rule, was "focus,: {}"
on line 11 of #src/sass/ _null.sass
from line 58 of #src/sass/style.sass
>> box-sizing: border-box; }

При удалении файла _null.sass всё работает исправно



<code lang="css">
*:before,
*:after 
  -moz-box-sizing: border-box
  -webkit-box-sizing: border-box
  box-sizing: border-box

</code>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan V, 2021-03-20
@verkhoturov

Pay attention to the error text.
" >> box-sizing: border-box; "
You have semicolons at the end of the line, they are not used in SASS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question