蒙古文拼写: 以词为单位竖写,词与词之间用空格分开,采取从上到 下的书序,从左到右的行序。
** 感觉显示挺复杂,其实很简单 ...
- css关键属性
writing-mode:vertical-lr
-webkit-text-orientation: sideways-right;
完整代码
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>蒙古文显示</title>
</head>
<body>
<label class="mgl-v">ᠠᠮᠢᠨ ᠭᠡᠳᠡᠭ ᠵᠠᠯᠠᠭᠤ ᠪᠣᠯ ᠭᠣᠶᠤ ᠵᠠᠯᠠᠭᠤ᠂ ᠡᠨᠡ ᠪᠣᠯ ᠬᠡᠨ ᠴᠦ ᠭᠡᠳ ᠬᠤᠪᠢᠷᠠᠭᠠᠵᠦ ᠳᠡᠢᠯᠬᠦ ᠦᠭᠡᠢ ᠪᠣᠯᠤᠭᠰᠠᠨ ᠪᠤᠳᠠᠳᠤ ᠤᠴᠢᠷ ᠰᠢᠦ᠃</label>
</body>
<style>
.mgl-v {
height: 130pt;
font-size: 20px;
font-style: normal;
font-family: 'mnglxingshuotf';
writing-mode: vertical-lr;
-webkit-text-orientation: sideways-right;
}
@font-face {
font-family: 'mnglxingshuotf';
src: url(mnglxingshuotf.ttf) format("truetype");
}
</style>
</html>
上面代码的显示结果: