Các yếu tố danh sách hỗ trợ thuộc tính Danh sách được đặt hàng Loại danh sách La Mã trênKiểu danh sách#
list-style-type
CSS, trong đó xác định cách thức phần yếu tố giả của mục danh sách nên được hiển thị. Trong thuật ngữ CSS, một điểm đánh dấu là một phần tử giả nằm trước các phần tử có thuộc tính display
được đặt thành list-item
. Xem danh sách CSS và bộ đếm Mô -đun Cấp 3 để biết tham chiếu tiêu chuẩn và DefaultSupportedListStyleType
để biết danh sách các loại được hỗ trợ bởi thư viện này.Danh sách đã đặt hàng#
Hỗ trợ các yếu tố theo mặc định 6 Loại danh sách:decimal
: 1, 2, 3 ... [mặc định]lower-alpha
: A, B, C ...upper-alpha
: A, B, C ...lower-greek
: α, β, γ ...lower-roman
: i, ii, iii ...display
0: i, ii, iii ...
Nhấn vào nút bên dưới để hiển thị cách mã này hiển thị trên thiết bị của bạn.
tiền boaBạn thực sự có thể rất dễ dàng cắm vào một trong hàng chục cài đặt trước từ display
1, bao gồm tiếng Ba Tư, tiếng Ả Rập, tiếng Do Thái, tiếng Thái, katana ... xem chương dưới đây.
Danh sách chưa được đặt hàng#
Danh sách chưa được đặt hàng display
2 Hỗ trợ các yếu tố theo mặc định 5 Loại danh sách Loại:
display
3: "•" [mặc định]display
4: "■"display
5: ""display
6: "" "display
7: "▶"
Những điểm đánh dấu này không được hiển thị với các ký tự UTF-8, có thể có nhiều hình dạng và kích thước đáng kể tùy thuộc vào phông chữ. Thay vào đó, hình dạng hình học được hiển thị.
Loại kiểu danh sách vuông
- Nguồn JSX
- Đoạn HTML
- TRT Snapshot
Nhấn vào nút bên dưới để hiển thị cách mã này hiển thị trên thiết bị của bạn.
tiền boa
Bạn thực sự có thể rất dễ dàng cắm vào một trong hàng chục cài đặt trước từ display
1, bao gồm tiếng Ba Tư, tiếng Ả Rập, tiếng Do Thái, tiếng Thái, katana ... xem chương dưới đây.
Danh sách chưa được đặt hàng#Thai preset:
Danh sách chưa được đặt hàng display
2 Hỗ trợ các yếu tố theo mặc định 5 Loại danh sách Loại:
- Nguồn JSX
- Đoạn HTML
- TRT Snapshot
Nhấn vào nút bên dưới để hiển thị cách mã này hiển thị trên thiết bị của bạn.
tiền boa
Bạn thực sự có thể rất dễ dàng cắm vào một trong hàng chục cài đặt trước từ display
1, bao gồm tiếng Ba Tư, tiếng Ả Rập, tiếng Do Thái, tiếng Thái, katana ... xem chương dưới đây.
Danh sách chưa được đặt hàng#
- Nguồn JSX
- Đoạn HTML
- TRT Snapshot
Nhấn vào nút bên dưới để hiển thị cách mã này hiển thị trên thiết bị của bạn.
tiền boa
Bạn thực sự có thể rất dễ dàng cắm vào một trong hàng chục cài đặt trước từ display
1, bao gồm tiếng Ba Tư, tiếng Ả Rập, tiếng Do Thái, tiếng Thái, katana ... xem chương dưới đây.
Những điểm đánh dấu này không được hiển thị với các ký tự UTF-8, có thể có nhiều hình dạng và kích thước đáng kể tùy thuộc vào phông chữ. Thay vào đó, hình dạng hình học được hiển thị.
Loại kiểu danh sách vuông
Xác định và tùy chỉnh các điểm đánh dấu Pseudo-yếu tố#
- Nguồn JSX
- Đoạn HTML
- TRT Snapshot
Nhấn vào nút bên dưới để hiển thị cách mã này hiển thị trên thiết bị của bạn.
tiền boa
Xác định và tùy chỉnh các điểm đánh dấu Pseudo-yếu tố#
- Nguồn JSX
- Đoạn HTML
- TRT Snapshot
Nhấn vào nút bên dưới để hiển thị cách mã này hiển thị trên thiết bị của bạn.
export
list-item
7list-item
8DefaultSupportedListStyleType
DefaultSupportedListStyleType
0DefaultSupportedListStyleType
1DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3DefaultSupportedListStyleType
4DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3DefaultSupportedListStyleType
7DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3
0DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3
3DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3
6DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3
9DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3decimal
2DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3decimal
5DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3decimal
8DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3lower-alpha
1DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3lower-alpha
4DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3lower-alpha
7DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3upper-alpha
0DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3upper-alpha
3DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3DefaultSupportedListStyleType
4DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3DefaultSupportedListStyleType
7DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3
0DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3
3DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3
6DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3
9DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3decimal
2DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3decimal
5DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3decimal
8DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3lower-alpha
1DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3lower-alpha
4DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3lower-alpha
7DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3upper-alpha
0DefaultSupportedListStyleType
2DefaultSupportedListStyleType
3upper-alpha
3
Được xác định trong các gói/kết xuất-html/src/careed-types.ts
Danh sách các loại kiểu được hỗ trợ nội bộ.
Xem CSS Counter Styles Cấp 3.