mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
30 lines
650 B
HTML
30 lines
650 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>Maximum height on fieldset</title>
|
||
|
<style>
|
||
|
div {
|
||
|
writing-mode: vertical-lr;
|
||
|
}
|
||
|
fieldset {
|
||
|
background:rgba(0,0,0,0.1);
|
||
|
border-color:teal;
|
||
|
border-width:2px;
|
||
|
max-height:100px;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div>
|
||
|
<fieldset>
|
||
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing
|
||
|
elit. Duis odio est, cursus non adipiscing at, fringilla
|
||
|
quis eros. Sed volutpat nibh sit amet ante molestie a
|
||
|
vehicula nulla gravida. Mauris elementum cursus urna id
|
||
|
vestibulum.</p>
|
||
|
</fieldset>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|