computer-graphics-study/index.css

38 lines
700 B
CSS
Raw Normal View History

2021-09-02 21:09:50 +09:00
html, body{
2021-09-02 17:46:36 +09:00
width: 100%;
height: 100%;
margin: 0;
padding: 0;
2021-09-02 21:09:50 +09:00
}
body{
2021-09-02 17:46:36 +09:00
background: rgba(0, 0, 0, 0) linear-gradient(rgb(56, 56, 56), rgb(122, 122, 122)) repeat scroll 0% 0%;
}
#canvas{
2021-09-02 21:09:50 +09:00
top: 0;
left: 0;
position: fixed;
2021-09-28 17:51:14 +09:00
}
#drawer-button{
width: 30px;
height: 30px;
top: 5px;
right: 5px;
position: fixed;
background-color: rgb(0, 0, 0,0.5);
border-radius: 5px;
color: white;
}
#drawer{
position: fixed;
width: 350px;
height: calc(90vh - 70px);
top: 70px;
right: -380px;
transition: right 0.4s ease;
background-color: white;
box-shadow: black 5px 5px 10px 0px;
border-radius: 5px;
padding: 15px;
2021-09-02 17:46:36 +09:00
}