Thuộc tính unicode-bidi CSS
Định nghĩa và cách sử dụng
Thuộc tính unicode-bidi
được sử dụng cùng với thuộc tính hướng để đặt hoặc trả về liệu văn bản có nên được ghi đè để hỗ trợ nhiều ngôn ngữ trong cùng một tài liệu hay không.
Giá trị mặc định: | Bình thường |
---|---|
Thừa hưởng: | Đúng |
Hoạt hình: | KHÔNG. Đọc về hoạt hình |
Phiên bản: | CSS2 |
Cú pháp JavaScript: | object .style.unicodeBidi="bidi-override" Hãy dùng thử |
Hỗ trợ trình duyệt
Các số trong bảng chỉ định phiên bản trình duyệt đầu tiên hỗ trợ đầy đủ thuộc tính.
Property | |||||
---|---|---|---|---|---|
unicode-bidi | 2.0 | 5.5 | 1.0 | 1.3 | 9.2 |
Cú pháp CSS
unicode-bidi: normal|embed|bidi-override|initial|inherit;
Giá trị tài sản
Value | Description | Demo |
---|---|---|
normal | The element does not open an additional level of embedding. This is default | Demo ❯ |
embed | For inline elements, this value opens an additional level of embedding | Demo ❯ |
bidi-override | For inline elements, this creates an override. For block elements, this creates an override for inline-level descendants not within another block element | Demo ❯ |
isolate | The element is isolated from its siblings | |
isolate-override | ||
plaintext | ||
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
Trang liên quan
Hướng dẫn CSS: Căn chỉnh văn bản CSS
Tham chiếu DOM HTML: thuộc tính unicodeBidi