答案 0 :(得分:2)
这对于flexbox是不可能的。
但是,如果您将必需的元素设为display:inline
,则是这样。
.field,
.field-items,
.field-item {
display: inline;
}
h2 {
margin-top: 0;
display: inline;
}
<div class="group-title-wrapper">
<div class="field field-name-post-date field-type-ds field-label-hidden">
<div class="field-items">
<div class="field-item even">08 January</div>
</div>
</div>
<div class="field field-name-title field-type-ds field-label-hidden">
<div class="field-items">
<div class="field-item even" property="dc:title">
<h2>Vokalia and Consonantia, there live the blind texts.Lorem ipsum dolor amet schlitz ennui taxidermy bespoke vinyl lyft iceland selfies quinoa intelligentsia. Tacos semiotics yuccie fam photo booth hella health goth kitsch whatever waistcoat.</h2>
</div>
</div>
</div>
</div>