CSS Triangular List Bullets – Arrow List Style

If you feel like the default style of a HTML list is boring, you can try applying these styles to make triangular list bullets.

HTML

<ul class="custom-list">
	<li>Video Games</li>
	<li>Android Games</li>
	<li>Android Apps</li>
	<li>iOS Games</li>
	<li>iOS Apps</li>
</ul>

CSS

ul.custom-list {
    list-style: none;
}
ul.custom-list li:before { 
    content: "";
    height: 0;
    width: 0;
    border-color: transparent #fcb400;
    border-style: solid;
    border-width: 0.5em 0 0.5em 0.5em;
    position: relative;
    display: block;    
    left: -1em;
    top: 1.25em;    
}

The position and color of the arrows can be adjusted to suit your design.

Leave a Comment

Your email address will not be published. Required fields are marked *

We care about your privacy and data security. Google serves cookies to analyse traffic and show ads on this site. By using this site you agree to these cookies being set. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close