I would like to style the c-field
class. There is a padding of 8px
which I would like to remove.
HTML:
<div class="c-section c-col-1 c-sml-col-1 c-span-16 c-sml-span-12" data-field="UrenprognoseSamenstellenJaarrekening">
<div class="">
<div class="c-field c-col-1 c-sml-col-1 c-span-10 c-sml-span-12">
<div class="c-editor c-html">
<p>Jaarrekening, rapportage en dossier</p>
</div>
</div>
</div>
</div>
What I tried:
.c-section[Data-Field="UrenprognoseSamenstellenJaarrekening"] > .c-field {
padding:0px;}
What you should try is removing the >
selector and leave it as
.c-section[Data-Field="UrenprognoseSamenstellenJaarrekening"] .c-field {
padding: 0px;
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.