Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css ordened list style color

<html>
<head>
    <style>
        ol { counter-reset: item; }
        ol li { display: block; }
        ol li:before {
            content: counter(item) ". ";
            counter-increment: item;
            color: red;
        }
    </style>
</head>
<body>
    <ol>
        <li>item</li>
        <li>item</li>
        <li>item</li>
    </ol>
</body>
</html>
Comment

PREVIOUS NEXT
Code Example
Css :: Capitalise all first letters of words in a sentence with css 
Css :: css responsive image 
Css :: option tag center 
Css :: zoom background image css 
Css :: how to add pictures in circle html 
Css :: css linkup 
Css :: how to modify select icon csshow to modify select icon css 
Css :: add color on image using css 
Css :: png image border css 
Css :: round the value of 2 decimals in java 
Css :: custom select dropdown css only codepen 
Css :: neomorphic box 
Css :: hide image title on hover css 
Css :: material css 
Css :: hex color code for tan 
Css :: css print 
Css :: hide scroll bar when not needed 
Css :: id ends with css 
Css :: bootstrap database table cdn 
Css :: table with vertical lines in angular 
Css :: asp net css how to change text alignment of gridview column 
Css :: function for style your theme wordpress php 
Css :: css height property 
Css :: css box-shadow over other elements 
Css :: material design css 
Css :: animation using css 
Css :: how to fix rough text html 
Css :: margin initial css 
Css :: divs overlapping on mobile landscape 
Css :: highchart add font family 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =