How to remove bullets from unordered list using CSS
Find out how to remove bullets from an unordered list using CSS property.
This is a short tutorial on how to remove bullets from an unordered list using CSS property.
In CSS, we can remove the bullets by using the list-style-type property in the element.
The list-style-type allow us to set the marker of the list item. For an unordered list of the <ul> element, the default is bullet markers.
So, to remove the bullets from the <ul> element, we have to set the list-style-type to none.
ul{ list-style-type : none; }
After removing the bullets, we can set the padding and margin to 0, to remove the indentation of the <ul> element.
ul{ list-style-type : none; margin: 0; padding: 0; }
Related Posts
How to create a horizontal list using HTML and CSS
Find out different ways to create horizontal list using inline-block and flex-box in CSS for your navigation bar on your website.
How to use calc() in tailwind CSS
Learn the use of calc() in tailwind CSS class. The calc() CSS function allows complex calculations to determine element sizes responsively.
Vertically Center Align a div in Tailwind CSS
Learn how to vertically center align a div in Tailwind CSS using Flexbox and absolute positioning and make your web development more efficient and fast.
Create a vertical line using Html and Css
Learn with step-by-step instruction on how to add vertical line in HTML using CSS border, transform and pseudo classes.
