Answer the question
In order to leave comments, you need to log in
How to refer to the upper class?
Good afternoon, how to refer to the class: .main
<div class="columns">
<div class="main"></div>
<div class="sidebar-additional"></div>
</div>
.main {
width: 70%;
}
.sidebar-additional{
width: 30%;
}
.sidebar-additional ~ .main {
width: 800px !important;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question