mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00:00
At computed-value time, this is converted to whatever the parent's computed value is. So it behaves a little like `inherit`, except that an inherited start/end value uses the parent's start/end, which might be different from the child's.
34 lines
678 B
HTML
34 lines
678 B
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<style>
|
|
.left { text-align: left; }
|
|
.center { text-align: center; }
|
|
.right { text-align: right; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<div class="left">Left</div>
|
|
<div class="left">Left</div>
|
|
</div>
|
|
<div>
|
|
<div class="center">Center</div>
|
|
<div class="center">Center</div>
|
|
</div>
|
|
<div>
|
|
<div class="right">Right</div>
|
|
<div class="right">Right</div>
|
|
</div>
|
|
<div>
|
|
<div class="right">Right</div>
|
|
<div class="right">Right</div>
|
|
</div>
|
|
<div>
|
|
<div class="center">Center</div>
|
|
<div class="center">Center</div>
|
|
</div>
|
|
<div>
|
|
<div class="left">Left</div>
|
|
<div class="left">Left</div>
|
|
</div>
|
|
</body>
|