-Codeerste Element div innerhalb div
<div class="row mgu-w-tdw-brow">
<div class="col-xs-6 col-sm-6 col-md-3">
<div class="mgu-w-tdw-box mgu-widget-teaser-1x1">...</div>
</div>
<div class="col-xs-6 col-sm-6 col-md-3">
<div class="mgu-w-tdw-box mgu-teaser-list-1x1-large">...</div>
</div>
<div class="col-xs-6 col-sm-6 col-md-3">
<div class="mgu-w-tdw-box mgu-teaser-list-1x1-large">...</div>
</div>
<div class="col-xs-6 col-sm-6 col-md-3">
<div class="mgu-w-tdw-box mgu-widget-teaser-1x1">...</div>
</div>
CSS
.mgu-w-tdw-brow div.mgu-w-tdw-box:first-child { border: 2px solid green; }
Ich möchte das erste Element der "MGU-w-tdw-box" innerhalb der Ansatz Zeile "mgu-w-tdw-brow". Leider funktioniert das nicht.
danke für Hilfe.
haben Sie Bootstrap CSS hinzugefügt? –
ja, Teil des Rahmens .. –