Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
|
a973583003 |
|
@ -1,3 +1,6 @@
|
|||
* {
|
||||
font-family: monospace;
|
||||
}
|
||||
#map {
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
|
@ -7,14 +10,33 @@
|
|||
}
|
||||
|
||||
#sidebar {
|
||||
transition-duration: 500ms;
|
||||
position: absolute;
|
||||
width:10%;
|
||||
height:10%;
|
||||
visibility: collapse;
|
||||
overflow: hidden;
|
||||
width:20%;
|
||||
height:50%;
|
||||
top: 25%;
|
||||
right: -20%;
|
||||
z-index: 4000;
|
||||
background-color: whitesmoke;
|
||||
margin-left: 10px;
|
||||
}
|
||||
#sidebarText {
|
||||
|
||||
position:relative;
|
||||
top: 0px;
|
||||
left:-50px;
|
||||
width: 150%;
|
||||
height: 8%;
|
||||
text-align: left;
|
||||
background-color: grey;
|
||||
|
||||
}
|
||||
|
||||
#sidebar:hover {
|
||||
transition-duration: 500ms;
|
||||
right: 0%;
|
||||
}
|
||||
|
||||
body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
<body>
|
||||
<div id="map"></div>
|
||||
<script src="./map.js"></script>
|
||||
<div id="sidebar"></div>
|
||||
<div id="sidebar">
|
||||
<p id="sidebarText">Menu</p>
|
||||
<p>Test</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue