6
I’m having a problem with Stylus. Compiling my code by Node sometimes it gives a bug, it seems that it does not identify the classes because of the .
generating the following error:
expected "indent", got "outdent"
Note: There are hours that work and there are hours that do not.
header h1
font-weight: 500
margin-bottom: -1em
input, label
column(12)
input, select
margin: 0.5em auto 1em auto
height: 1.8em
border: solid #ccc 0.1em
button
margin: 1em
background-color: ##205FBE
color: white
.txt-center
text-align: center
My problem is not that, I’m not naming a variable or a mixin with '.', I just want to use a class...
– ClaraBatt
Have you checked if there really are no indented spaces, or have you tried hyphenating instead of dots ?
– Edilson
Tests indent and remove spaces, use the
sublime-text
for that. Press crt + shift + p and typeIndentation: Convert to Spaces
, It always helps me with Stylus and also with Jade– Rubens Barbosa
Thanks @Rubensbarbosa worked!
– ClaraBatt