要素4
要素5
<style>
.demo_css_sprt, .demo_css_sprt div {
border: dotted 1px red;
padding:1em;
}
.demo_css_sprt div {
margin: 1em 0;
}
.demo_css_sprt div:last-child {
background:mistyrose;
}
.demo_css_sprt p {
border: dashed 1px blue;
padding:1em;
}
</style>
<div class="demo_css_sprt">
要素1
<div>要素2</div>
<div>要素3</div>
<p>要素4</p>
<p>要素5</p>
<div>要素6</div>
<div>要素7</div>
</div>