css unicode-bidi attribute


  Translation results:

unicode

UK['ju:nɪˌkəʊd] US['jʊnɪˌkoʊd]

Unicode (using double bytes to encode characters)

bidi

UK[bɪ'dɪ] US[bɪ'dɪ]

n. A cigar with sharp ends produced in India

css unicode-bidi attributesyntax

Function: unicode-bidi attribute sets the direction of text. Inheritance: Yes

Description: Although CSS attempts to handle writing direction, Unicode has a more robust way to handle directionality. The unicode-bidi property allows CSS authors to take advantage of some of Unicode's capabilities.

css unicode-bidi attributeexample

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"> 
<title></title>
<style>
div.ex1
{
	direction:rtl;
	unicode-bidi:bidi-override;
}
</style>
</head>
<body>

<div>一些文本。默认的书写方向。</div>
<div class="ex1">一些文本 。从右向左的方向。</div>

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance

Home

Videos

Q&A