hinzufügen Ich möchte padding top zu :: nach hinzufügen und wollen es in der mitte machen. Aber es passiert nicht. Das ist, was ich bekommen:wie padding top in CSS pseudo element class :: :: nach
Nach der Anwendung dieser css:
.list-unstyled li::after {
content: url(images/heartborder.png)
text-align:center;
padding-top: 30px;
}
und das ist mein HTML-CODE:
<li>
<div class="col span-1-of-3 box">
<span class="icon-small">
<i class="fa fa-eye" aria-hidden="true"></i>
<div class="details">
<h5 class="heading">View/Edit Profile</h5>
<p>You can view or edit your profile from here. Phone no., address, other information etc. etc.</p>
</div>
</span>
</div>
</li>
Thnaks @lokesh Aber wie man es in der Mitte macht. ohne Polsterung links? –
Ich habe 'content: ''' nicht verpasst, da das OP 'content: url()' –
hat. Überprüfen Sie meine Update-Antwort – LKG