A
A
AlexRas2016-05-08 18:01:48
Sass
AlexRas, 2016-05-08 18:01:48

How to use + in sass?

Hello, tell me how to use + in sass correctly.
sass example:

.header
  &_top
  &__contact
    &_text

You need to make it so in css:
.header__contact_text + .header__contact_text {
  margin-left: 30px;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AlexRas, 2016-05-08
@AlexRas

.header
  &_top
  &__contact
    &_text
      & + &
        margin-left: 30px

The answer came by itself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question