A
A
Alexey2016-11-28 09:12:39
css
Alexey, 2016-11-28 09:12:39

Is it possible to access the stylus property located in another block?

Greetings.
How to access the property of another element without using variables. And is it even possible when using stylus.
Example:

.pageHeader
    width: 100%
    padding: 5px 10px
    height: height-header
.row
    line-height: (height-header - @padding[0])

I need to access padding[0] property which is located in .pageHeader

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question