2016-02-24 17:55:03 +01:00
|
|
|
---
|
2016-03-04 18:37:24 +01:00
|
|
|
title: "Edge Case: Nested and Mixed Lists"
|
2016-02-24 17:55:03 +01:00
|
|
|
categories:
|
|
|
|
- Edge Case
|
|
|
|
tags:
|
|
|
|
- content
|
|
|
|
- css
|
|
|
|
- edge case
|
|
|
|
- lists
|
|
|
|
- markup
|
|
|
|
---
|
2016-03-07 15:51:50 +01:00
|
|
|
|
2016-02-24 17:55:03 +01:00
|
|
|
Nested and mixed lists are an interesting beast. It's a corner case to make sure that
|
|
|
|
|
2016-03-06 03:29:50 +01:00
|
|
|
* Lists within lists do not break the ordered list numbering order
|
|
|
|
* Your list styles go deep enough.
|
2016-02-24 17:55:03 +01:00
|
|
|
|
|
|
|
### Ordered -- Unordered -- Ordered
|
|
|
|
|
2016-03-06 03:29:50 +01:00
|
|
|
1. ordered item
|
|
|
|
2. ordered item
|
|
|
|
* **unordered**
|
|
|
|
* **unordered**
|
|
|
|
1. ordered item
|
|
|
|
2. ordered item
|
|
|
|
3. ordered item
|
|
|
|
4. ordered item
|
2016-02-24 17:55:03 +01:00
|
|
|
|
|
|
|
### Ordered -- Unordered -- Unordered
|
|
|
|
|
2016-03-06 03:29:50 +01:00
|
|
|
1. ordered item
|
|
|
|
2. ordered item
|
|
|
|
* **unordered**
|
|
|
|
* **unordered**
|
|
|
|
* unordered item
|
|
|
|
* unordered item
|
|
|
|
3. ordered item
|
|
|
|
4. ordered item
|
2016-02-24 17:55:03 +01:00
|
|
|
|
|
|
|
### Unordered -- Ordered -- Unordered
|
|
|
|
|
2016-03-06 03:29:50 +01:00
|
|
|
* unordered item
|
|
|
|
* unordered item
|
|
|
|
1. ordered
|
|
|
|
2. ordered
|
|
|
|
* unordered item
|
|
|
|
* unordered item
|
|
|
|
* unordered item
|
|
|
|
* unordered item
|
2016-02-24 17:55:03 +01:00
|
|
|
|
|
|
|
### Unordered -- Unordered -- Ordered
|
|
|
|
|
2016-03-06 03:29:50 +01:00
|
|
|
* unordered item
|
|
|
|
* unordered item
|
|
|
|
* unordered
|
|
|
|
* unordered
|
|
|
|
1. **ordered item**
|
|
|
|
2. **ordered item**
|
|
|
|
* unordered item
|
|
|
|
* unordered item
|