semi working

This commit is contained in:
John McLear 2013-04-08 23:03:19 +01:00
parent 883be3d48d
commit 49cff88a48
1 changed files with 37 additions and 5 deletions

View File

@ -205,13 +205,23 @@ ol.list-number1{
ol.list-number2{ ol.list-number2{
text-indent: 30px; text-indent: 30px;
} }
ol.list-number3{
text-indent: 40px;
}
ol.list-number4{
text-indent: 50px;
}
ol.list-number5{
text-indent: 60px;
}
ol.list-number6{
text-indent: 70px;
}
/* Add styling to the first item in a list */ /* Add styling to the first item in a list */
ol.list1-start{ body{
counter-reset: first; counter-reset:first 0 second 0 third 0 fourth 0 fifth 0 sixth 0;
}
ol.list2-start{
counter-reset: second;
} }
/* The behavior for incrementing and the prefix */ /* The behavior for incrementing and the prefix */
@ -225,3 +235,25 @@ ol.list-number2:before {
counter-increment: second; counter-increment: second;
} }
/* The behavior for incrementing and the prefix */
ol.list-number3:before {
content: counter(third) ". " ;
counter-increment: third;
}
ol.list-number4:before {
content: counter(fourth) ". " ;
counter-increment: fourth;
}
/* The behavior for incrementing and the prefix */
ol.list-number5:before {
content: counter(fifth) ". " ;
counter-increment: fifth;
}
ol.list-number6:before {
content: counter(sixth) ". " ;
counter-increment: sixth;
}