less copy protection, more size visualization
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.
|
- html {
- height: 100%;
- overflow-x: hidden;
- overflow-y: hidden;
- }
-
- body {
- background: #111;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: flex-start;
- height: 100%;
- width: 100%;
- }
-
- .entity {
- position: absolute;
- left: 50%;
- top: 50%;
- --height: 100px;
- width: 50px;
- background-color: red;
- height: var(--height);
- text-align: center;
- }
-
- #world {
- min-width: 90vw;
- min-height: 80vh;
- }
-
- #menubar {
- min-height: 10vh;
- min-width: 100vw;
- background: #222;
- }
-
- #display {
- width: 100%;
- height: 100%;
- background: #333;
- }
|