Source code
Revision control
Copy as Markdown
Other Tools
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
<head>
<title>Sizes</title>
<style>
:root {
min-width: 200px;
min-height: 100px;
max-width: 400px;
max-height: 300px;
}
:root:target {
min-height: 0;
}
:root, body {
margin: 0;
width: 100%;
height: 100%;
overflow: clip;
}
#content {
width: 400px;
height: 200px;
}
</style>
</head>
<body>
<div id="content">Window content</div>
</body>
</html>