Y
Y
Yuri Kravchuk2014-12-22 11:24:57
Less
Yuri Kravchuk, 2014-12-22 11:24:57

Does Less support writing .bx-firefox (wrapper class) inside .class?

I can’t find the following functionality in the documentation (if, of course, it is present there):
there is a code:

.class { ... }
.bx-firefox .class { ... }

Those. we, say, write some specific rule for FF. Does Less support writing .bx-firefox (wrapper class) inside .class? It's like Media query bubbling and nested media queries for a class only.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey ZloDeeV, 2014-12-22
@kossmos

.screencolor {
    .bx-firefox &{
    	color: red;
    }
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question