M
M
Mad-cote2015-10-03 00:34:01
css
Mad-cote, 2015-10-03 00:34:01

Why don't namespaces work in less css?

When I try to call a simple Neuspace, I get compiler errors in WinLess

#a {
    .button {
        color: red;
    }
}

h1 {#a > .button}

In theory, everything is done as indicated on the off. site. But it doesn't work, why?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mad-cote, 2015-10-03
@Mad-cote

Hmm, sorry for the stupid question. Already figured it out myself. I thought it works like in PHP for example, but I forgot that it's CSS)))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question