Can ordered list produce result that looks like 1.1, 1.2, 1.3 (instead of just 1, 2, 3, …) with css?

后端 未结 11 1006
广开言路
广开言路 2020-11-22 10:13

Can an ordered list produce results that looks like 1.1, 1.2, 1.3 (instead of just 1, 2, 3, ...) with CSS? So far, using list-style-type:decimal has produced on

11条回答
  •  臣服心动
    2020-11-22 10:45

    
        
            
            
        
        
            
            
    1. TITLE ONE
      1. text 1 one
      2. text 1 two
      3. text 1 three
      4. text 1 four
    2. TITLE TWO
      1. text 2 one
      2. text 2 two
      3. text 2 three
      4. text 2 four
    3. TITLE THREE
      1. text 3 one
      2. text 3 two
      3. text 3 three
      4. text 3 four

    Result: http://i.stack.imgur.com/78bN8.jpg

提交回复
热议问题