Answers for "add bullets ul html"

CSS
1

CSS add bullets in html manual

/* Manually Add Bullets to Elements in HTML Page*/
ul{
  position: relative;
}
ul li{
  list-style: none;
}
ul li::after{
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #f00;
  top: 2px;
  left: -8px;
  /* + or - top and left according to your style, so that they look perfect*/
}
Posted by: Guest on June-14-2021

Browse Popular Code Answers by Language