Search
 
SCRIPT & CODE EXAMPLE
 

CSS

change style of ordered list numbers css

ol {
   list-style: none;
   counter-reset: item;
 }
 li {
   counter-increment: item;
   margin-bottom: 5px;
 }
 li:before {
   margin-right: 10px;
   content: counter(item);
   background: lightblue;
   border-radius: 100%;
   color: white;
   width: 1.2em;
   text-align: center;
   display: inline-block;
 }
Comment

PREVIOUS NEXT
Code Example
Css :: css center 
Css :: css line spacing 
Css :: how to make png smaller css 
Css :: dom ids have numbers 
Css :: responsive flexbox in css 
Css :: css hero image 
Css :: difference between and px in css 
Css :: remove cursor pointer css 
Css :: how to make border for letters in css 
Css :: contenteditable new line 
Css :: scss for loop nth child 
Css :: i used overflow-y : scroll but the scroll bar keep on showing 
Css :: css how to make something italized 
Css :: add more than 2 css jquery 
Css :: red css color codes 
Css :: round 2 corners of div css 
Css :: css change background color of page 
Css :: print not showing background image 
Css :: tabla responsive css 
Css :: robot font import 
Css :: javavscript use .filter to return odd numbers in an array 
Css :: flex margin between items 
Css :: how to justify text in css 
Css :: convert firebase created_at to Date string 
Css :: css transform size 
Css :: Capitalize the first letter of string using CSS 
Css :: grid place between 
Css :: css background image follow scroll 
Css :: position absolute horizontally center 
Css :: font roboto css 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =