Thuộc tính unicode-bidi CSS
Thí dụ
Ghi đè văn bản:
div
{
direction: rtl;
unicode-bidi: bidi-override;
}
Định nghĩa và Cách sử dụng
Thuộc unicode-bidi
tính được sử dụng cùng với thuộc tính
hướng để đặt hoặc trả lại xem 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: | thông 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ỗ 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 | Play it |
---|---|---|
normal | The element does not open an additional level of embedding. This is default | |
embed | For inline elements, this value opens an additional level of embedding | |
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 | |
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 |
Các trang liên quan
Hướng dẫn CSS: Văn bản CSS
Tham chiếu HTML DOM: thuộc tính unicodeBidi