Answers for "bullets in html"

3

how to change only bullet color in css

li::before {content: "•"; color: red;
  display: inline-block; width: 1em;
  margin-left: -1em}
Posted by: Guest on March-25-2020
4

html number list

<ol type="1">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>
</ol>

<ol type="A">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>
</ol>

<ol type="a">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>
</ol>

<ol type="I">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>
</ol>

<ol type="i">
	<li>Item 1</li>
	<li>Item 2</li>
	<li>Item 3</li>
</ol>
Posted by: Guest on July-31-2020
1

ul li dot seprator

ul li { list-style: none; display: inline; }
ul li:after { content: " \00b7"; }
ul li:last-child:after { content: none; }
Posted by: Guest on October-09-2020
8

how to get number list in html

<ol>
<li>Example</li>
<li>Example2</li>
<li>Example3</li>
</ol>
Posted by: Guest on January-18-2020
0

how to change only bullet color in css

li::before {content: counter(li); color: red;
  display: inline-block; width: 1em;
  margin-left: -1em}
Posted by: Guest on March-25-2020

Browse Popular Code Answers by Language