Reputation: 1202
It's weird. Stylus was perfectly working, until I copy paste some css to try something.
When I added this to my style.styl file :
.navigation
list-style none
background white
width 100%
height 100%
position fixed
top 0
right 0
bottom 0
left 0
z-index 0
it compiled to this
.navigation,
list-style none,
background white,
width 100%,
height 100%,
position fixed,
top 0,
right 0,
bottom 0,
left 0,
z-index 0,
the rest of the css is compiling fine.
Upvotes: 0
Views: 259
Reputation: 2902
Check if you're using space-based indentation in your stylus-sheet.
Stylus default is tab indented. But you can use 4 or 2 spaces if you write it between curly brackets.
.navigation {
list-style none
background white
width 100%
height 100%
position fixed
top 0
right 0
bottom 0
left 0
z-index 0
}
Upvotes: 1
Reputation: 2699
Probably, you have a wrong indentation inside your file where you pasted this code. Could you show an original file?
Upvotes: 0