forked from google/blockly-samples
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
56 lines (55 loc) · 1.22 KB
/
index.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
47
48
49
50
51
52
53
54
55
56
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Blockly Demo: Resizable Blockly (Part 1)</title>
<style>
html,
body {
height: 100%;
margin: 0;
}
body {
background-color: #fff;
font-family: sans-serif;
overflow: hidden;
}
h1 {
font-weight: normal;
font-size: 140%;
}
table {
height: 100%;
width: 100%;
}
#blocklyArea {
height: 99%;
background: #fc9;
text-align: center;
}
</style>
</head>
<body>
<table>
<tr>
<td>
<p>
The first step in creating a resizable Blockly workspace is to use
CSS or tables to create an area for it. Next,
<a href="overlay.html">inject Blockly</a> over that area.
</p>
<p>
→ More info on
<a
href="https://developers.google.com/blockly/guides/configure/web/resizable"
>injecting resizable Blockly</a
>…
</p>
</td>
</tr>
<tr>
<td id="blocklyArea">Blockly will be positioned here.</td>
</tr>
</table>
</body>
</html>