My unordered list with custom bullets is displaying some unexpected behavior.
When the screen size drops below 364px, the list items wrap to two lines. However, the custom bullet ends up on the second line instead of the first. How can I fix this for smaller screens without affecting other sizes?
Any suggestions are greatly appreciated!
#list {
padding: 0 10px 0 0;
}
#list ul {
list-style: none;
padding-left: 0px;
}
#list ul li {
padding: 0px 0px 10px 40px;
background: url('https://via.placeholder.com/20') no-repeat;
background-position: bottom 12px left 10px;
}
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0d6f6262797e797f6c7d4d38233d233f">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<div id="list">
<ul>
<li><strong>Gratis</strong> omgevingsvergunning check</li>
<li>Bezoek op locatie</li>
<li>3D impressie</li>
<li>Projectbegeleiding</li>
<li>Bouwvergunningen</li>
</ul>
</div>