设置文本是否应使用 CSS 覆盖以支持多种语言
使用 unicode-bdi 属性设置文本是否应使用 CSS 覆盖以支持多种语言
示例
<!DOCTYPE html> <html> <head> <style> p.demo1 { direction: rtl; unicode-bidi: bidi-override; } p.demo2 { direction: rtl; unicode-bidi: isolate; } </style> </head> <body> <h1>The unicode-bidi Property</h1> <p>This is demo text.</p> <p class = "demo1">This is demo text</p> <p class = "demo2">This is demo text</p> </body> </html>
广告