0

Is there a way that I could create a variable to get the height of multiple divs? For instance $fixed-offset: .class1 + .class2; Then in my styles say margin-top: $fixed-offset + 15px;

$fixed-offset: .class1 + .class2;

.class {
    height: 100%;
    margin-top: $fixed-offset + 15px;
}

0 Answers0