Error in Sass style sheet

Asked

Viewed 43 times

0

Hello, I was writing the styles for my home page, everything was working perfectly, until an error appeared in Gulp.

Error in plugin 'sass'
Message:
   sass\organisms\_header.sass
Error: Invalid CSS after "...in: 35px 0 0; }": expected "}", was "{"
    on line 22 of sass/organisms/_header.sass
    margin: 35px 0 0; } {

I’m racking my brain to fix this mistake, you can help me ?

HEADER FILE.SASS

header 

min-height: 540px

background:
    image: url('../images/slide-pag-inicial.jpg')
    position: top center
    repeat: no-repeat
    //attachment
    size: cover

.logo
    float: left
    margin: 30px 0 0
    img
        width: 118px
        height: 59px


.links
    float: right 
    margin: 35px 0 0

     nav
        +breakpoint($tablet)
                display: none
        +breakpoint($celular)
                display: none
        ul
            li
                display: inline-block
                margin: 0 20px 0 0
                a
                    color: $branco
                    text-transform: uppercase


h1,
p
    color: $branco
    text-align: center
    text-transform: uppercase
  • Post the code from the Header.Sass file

  • I just posted

2 answers

0

Review your files sass, in any of them contains this Cód margin: 35px 0 0; } { Remove the key opening { that is to work.

*I did not locate this code in what you put in the question.

0

Finally got it, the problem was solved simply by writing the line again kkkkk Thanks for the help Bruno

  • But is that what I told you? About the key ?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.