Jump to content

[css] numbered lists, adding a sign


AndyPSV

Recommended Posts

did it

 

#nfo ol {counter-reset: paragraf;list-style-type:none}
#nfo li {counter-increment:paragraf;position:relative}
#nfo li::before {content: "\00a7" counter(paragraf) ".";position: absolute;
    display: block;
    width: 50px;
    top: 0;
    left: -50px;
    text-align: right;
    padding-right: 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.