use an emoji on your list items ul li

I didnt think this would work but it does somehow, i guess it may differ depending on what emojis are available on your system.

HTML

<ol class='my-awesome-list'>
<li class='a-list-item'>yay im an ordered list item</li>
<li class='a-list-item'>yay im an ordered list item</li>
<li class='a-list-item'>yay im an ordered list item</li>
<li class='a-list-item'>yay im an ordered list item</li>
<li class='a-list-item'>yay im an ordered list item</li>
<li class='a-list-item'>yay im an ordered list item</li>
<li class='a-list-item'>yay im an ordered list item</li>
<li class='a-list-item'>yay im an ordered list item</li>
</ol>

CSS

ol.my-awesome-list {
 list-style:none;
}
ol.my-awesome-list li {
 position:relative;
}
ol.my-awesome-list li:before {
    content: "βœ”";
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #007236;
    position: absolute;
    top: 1px;
    left: -29px;
}
  1. yay im an ordered list item
  2. yay im an ordered list item
  3. yay im an ordered list item
  4. yay im an ordered list item
  5. yay im an ordered list item
  6. yay im an ordered list item
  7. yay im an ordered list item
  8. yay im an ordered list item

Other Items in css
Page Views

This page has been viewed 82 times.

Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

β€πŸ‘©β€πŸ’»πŸ•Ή

Random Quote
1. Show your work to the world instead of keeping in your headπŸ’†. 2. Do the work consistentlyπŸ‘Œ 3. Respect your workπŸ₯° 4. Don't postpone your work 5. Make mistakes πŸ”₯πŸ”₯πŸ”₯
Unknown