Fox7777
@Fox7777
Люблю python

Вроде код верный, в чём ошибка?

header{
    background-color: $bg-color;
    min-width: 100vh;
    height: 100vh;

    .header-content {
        height: 87%;
        @include flex(space-around, row);

        .header-text-content {
            @include flex(space-between, column);
            height: 400px;
            width: 650px;

            h1 {

                font-size: 67px;
                line-height: 1.2;
                font-weight: 600;
                letter-spacing: 0.01em;
                color: #ffffff;
            }

            p {
                font-size: 29px;
                line-height: 1.2;
                font-weight: 400;
                letter-spacing: 0.01em;
                color: #ffffff;
            }

            .button {
                width: 100%;

                button:first-child {
                    @include button;
                    border: none;
                    background-color: #00bec9;
                }

                button:last-child {
                    margin-left: 35px;
                    @include button;
                    @include service;
            }
        }

    }

    nav {
        height: 121px;
        background-color: #daac00;
        @include flex(space-around, row);

        .navigation {
            color: white;
            font-size: 30px;
            width: 40%;
            @include flex(space-around, row);
        }

        .search {
            @include flex(none, row);

            .search-text {
                @include flex(none, none);
                padding-left: 25px;
                color: white;
                width: 150px;
                height: 51px;
                background-color: #fcc302;
                box-shadow: 8px 14px 15px 3px rgba(74, 74, 74, 0.1);
            }

            .search-img {
                @include flex(center, none);
                width: 61px;
                height: 51px;
                background-color: #00bec9;
            }
        }
    }
}

Error: expected "}".
    ╷
117 │ }
    │  ^
    ╵

Ошибка - это последняя строка. Но не понятно, причина.
  • Вопрос задан
  • 40 просмотров
Решения вопроса 1
vfreelancer
@vfreelancer
php
здесь нет }

.button {
width: 100%;

button:first-child {
@include button;
border: none;
background-color: #00bec9;
}

button:last-child {
margin-left: 35px;
@include button;
@include service;
}
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы