-
Notifications
You must be signed in to change notification settings - Fork 0
/
flex-iframe.html
46 lines (43 loc) · 1.01 KB
/
flex-iframe.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<html>
<head>
<style>
body,
html {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
.row-container {
display: flex;
width: 100%;
height: 100%;
flex-direction: column;
background-color: blue;
overflow: hidden;
}
.first-row {
background-color: lime;
}
.second-row {
flex-grow: 1;
border: none;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<!-- https://stackoverflow.com/questions/325273/make-iframe-to-fit-100-of-containers-remaining-height -->
<div class="row-container">
<!-- <div class="first-row">
<p>Some text</p>
<p>And some more text</p>
</div> -->
<iframe
src="https://docs.google.com/document/d/e/2PACX-1vSyxP84YSRe4SZCPEGIL2JfINSF9GPSsZ9pDT0I1s6Xai-Z4LupweynqaPVvA4wV-_jyTpTRERY_jjL/pub?embedded=true"
class="second-row"
></iframe>
</div>
</body>
</html>