November 23, 2020
By default, indented bullet points become dots and squares instead of solid bullets.
I wanted all the bullet points to stay as solid discs, because I think that it looks better:
First, here's the HTML for indented bullet points:
<ul>
<li>one</li>
<ul>
<li>one a</li>
</ul>
<li>two</li>
</ul>
Then, you can use this CSS to style every bullet point as a solid circle (a "disc"):
li {
list-style-type: disc;
}
Done! Now, ever bullet point will be the same solid disc, even if it's indented.
Tufts Meal Plan Wrapped
Mar 2, 2024
Building an e-ink picture frame that displays an iCloud photo album
Jan 9, 2024
2023 in review
Jan 5, 2024
Subscribe to my newsletter for a monthly round-up of new blog posts and projects Iām working on!