new
class to the badge to give it the background.
<div class="collection"> <a href="#!" class="collection-item">Alan<span class="badge">1</span></a> <a href="#!" class="collection-item">Alan<span class="new badge">4</span></a> <a href="#!" class="collection-item">Alan</li> <a href="#!" class="collection-item">Alan<span class="badge">14</span></a> </div>
<ul id="dropdown2" class="dropdown-content"> <li><a href="#!">one<span class="badge">1</span></a></li> <li><a href="#!">two<span class="new badge">1</span></a></li> <li><a href="#!">three</a></li> </ul> <a class="btn dropdown-button" href="#!" data-activates="dropdown2">Dropdown<i class="mdi-navigation-arrow-drop-down right"></i></a>