I am currently working with CSS, where I have defined the following style:
.main> .test{
display: block;
background:#FFFFFF
}
The style is saved in a file that I prefer not to modify. However, my new HTML structure looks like this:
<div class="main">
<form>
<div class="test">
...
</div>
</form>
</div>
Unfortunately, in this scenario, the style is not being applied. So my question is: Is it possible to define CSS styling as follows?
.main> form> .test{
}
How can I apply the styling from ".main> .test" without having to manually copy and paste the content of the style?