Created
February 23, 2012 11:07
-
-
Save EkremGungormez/1892381 to your computer and use it in GitHub Desktop.
adding text before list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ol.AnaListe | |
{ | |
list-style-type:none; /* default sayacı siler */ | |
counter-reset:elementcounter; /* Değeri 0 olan yeni bir sayaç oluşturur*/ | |
} | |
ol.AnaListe > li:before | |
{ | |
content: "MADDE - " counter(elementcounter) " - "; /* Listedeki elemanın numarasıyla birlikte “MADDE - “ yazar” */ | |
counter-increment:elementcounter; /* sayacın arttırılması*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment