blob: 758aafcb7e8357cf9d9ae5a79336a46182237492 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html, body {
margin: 0;
width: 100%;
height: 100%;
}
div {
height: 50%;
position: absolute;
}
</style>
<div style="background: green; width: 100%;"></div>
<div style="background: blue; width: 50%;"></div>
|