@edsilv/ami.js
Version:
<p align="center"> <img src="https://user-images.githubusercontent.com/214063/46479857-4cd66e80-c7f0-11e8-9585-5748409c9490.png" width="60%"> </p>
64 lines (54 loc) • 860 B
CSS
#stats {
position: absolute;
top: 0;
left: 0;
}
html,
body {
height: 100%;
}
body {
margin: 0;
overflow: hidden;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.visualizer {
width: 100%;
height: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
background-color: #353535;
}
.renderer {
background-color: #000;
width: 50%;
height: 50%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border: 1px solid rgba(0, 0, 0, 0.2);
border-bottom: none;
position: relative;
overflow: hidden;
}
#r0 {
border-top: 2px solid #03a9f4;
}
#r1 {
border-top: 2px solid #f44336;
}
#r2 {
border-top: 2px solid #ffeb3b;
}
#r3 {
border-top: 2px solid #8bc34a;
}
#my-gui-container {
position: fixed;
top: 10px;
right: 10px;
z-index: 1;
}