N
N
nluparev2019-03-14 13:37:19
css
nluparev, 2019-03-14 13:37:19

What does $root:& mean in scss styles?

.segments-list {
  $root: &;

  .page-buttons {
    > * { letter-spacing: .46px; }
  }
}

what does/mean $root: & ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tyzberd, 2019-03-14
@nluparev

https://sass-lang.com/documentation/file.SASS_REFE...
https://sass-lang.com/documentation/file.SASS_REFE...
This is a reference to the parent selector in a variable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question