Rust编写的JavaScript引擎,该项目是一个试验性质的项目。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.2 KiB

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Boa Playground</title>
<link href="assets/bootstrap.min.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<style>
.demo__img {
width: 400px;
display: block;
margin-bottom: 16px;
}
6 years ago
.textbox {
height: 250px;
border: 1px solid #8db5e4;
margin-bottom: 16px;
flex: 2;
margin-right: 16px;
}
6 years ago
.container {
margin: 0 auto;
6 years ago
}
6 years ago
.demo__repl {
display: flex;
font-family: monospace;
6 years ago
}
.output {
flex: 1;
border: 1px solid black;
padding: 8px;
font-size: 2rem;
6 years ago
}
@media (min-width: 320px) and (max-width: 1024px) {
.demo__img {
max-width: 100%;
}
.demo__repl {
flex-direction: column;
}
.textbox {
min-height: 279px;
}
.output {
min-height: 100px;
}
6 years ago
}
</style>
6 years ago
<body>
<div class="container">
<img class="demo__img" src="./assets/01_rust_loves_js.png" />
6 years ago
<div class="demo__repl">
<div class="textbox"></div>
<p class="output"></p>
</div>
</div>
</body>
</html>