dioxus/packages/tui/test.html

73 lines
1.7 KiB
HTML
Raw Normal View History

2022-01-01 04:53:37 +00:00
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<style>
html,
body {
height: 100%;
}
.container {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
2022-01-01 06:08:31 +00:00
background-color: black;
/* justify-content: center;
align-items: center; */
2022-01-01 04:53:37 +00:00
/* margin: auto; */
}
.smaller {
2022-01-01 06:08:31 +00:00
height: 70%;
width: 70%;
background-color: green;
/* justify-content: center; */
/* align-items: center; */
}
.superinner {
height: 100%;
width: 100%;
/* display: flex; */
/* */
margin-top: 20px;
margin-bottom: 20px;
margin-left: 20px;
margin-right: 20px;
/* */
background-color: red;
2022-01-01 04:53:37 +00:00
justify-content: center;
align-items: center;
2022-01-01 06:08:31 +00:00
flex-direction: column;
/* margin: 20px; */
/* margin: 20px; */
2022-01-01 04:53:37 +00:00
}
</style>
</head>
<body>
<div class="container">
2022-01-01 06:08:31 +00:00
<div class="smaller">
<div class="superinner">
<h1>Hello World</h1>
<p>This is a test</p>
</div>
</div>
</div>
<!-- <div class="container">
2022-01-01 04:53:37 +00:00
<div class="smaller">
hello world
2022-01-01 06:08:31 +00:00
<div style="color: green; margin: 40px;">
2022-01-01 04:53:37 +00:00
goodbye
2022-01-01 06:08:31 +00:00
<div style="color:red;">
2022-01-01 04:53:37 +00:00
asdasdasd
</div>
</div>
</div>
2022-01-01 06:08:31 +00:00
</div> -->
2022-01-01 04:53:37 +00:00
</body>
</html>