mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 23:07:33 +09:00
moebius#90: CSS - implement text-justify property
This commit is contained in:
parent
5677db4b6e
commit
1f262f0d2b
26 changed files with 312 additions and 9 deletions
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text 7.4. Justification Method: text-justify: inter-word</title>
|
||||
<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com">
|
||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<style type='text/css'>
|
||||
p {
|
||||
font-size: 1.5em;
|
||||
border: 1px solid black;
|
||||
padding: 10px;
|
||||
margin-right: 310px;
|
||||
}
|
||||
.right {
|
||||
float: right;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p lang="en">Latin<span class="right">text</span></p>
|
||||
<p lang="ja">日本<span class="right">文字</span></p>
|
||||
<p lang="th">อักษรไทย<span class="right">อักษรไทย</span></p>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue