You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
525 B
CSS
47 lines
525 B
CSS
![]()
3 months ago
|
body, html{
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
img{
|
||
|
width: 250px;
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.text{
|
||
|
padding: 10px;
|
||
|
width: 200px;
|
||
|
height: min-content;
|
||
|
overflow-y: scroll;
|
||
|
max-height: 300px;
|
||
|
|
||
|
}
|
||
|
|
||
|
.draggable {
|
||
|
position: absolute;
|
||
|
cursor: move;
|
||
|
}
|
||
|
|
||
|
footer, header{
|
||
|
position: fixed;
|
||
|
z-index: 99;
|
||
|
width: 100%;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
flex-direction: column;
|
||
|
gap: 0
|
||
|
}
|
||
|
|
||
|
header{
|
||
|
top: 0;
|
||
|
}
|
||
|
footer{
|
||
|
bottom: 0;
|
||
|
}
|
||
|
|
||
|
header h1{
|
||
|
margin-bottom: 0;
|
||
|
}
|