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.
40 lines
546 B
CSS
40 lines
546 B
CSS
4 years ago
|
.label {
|
||
|
display: block;
|
||
|
margin: 0 auto;
|
||
|
max-width: 600px;
|
||
|
width: 100%;
|
||
|
max-height: 400px;
|
||
|
object-fit: contain;
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
width: 100%;
|
||
|
max-width: 600px;
|
||
|
max-height: 600px;
|
||
|
display: flex;
|
||
|
overflow: hidden;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
|
||
|
.container > img {
|
||
|
max-width: 100%;
|
||
|
max-height: 100%;
|
||
|
object-fit: contain;
|
||
|
}
|
||
|
|
||
|
.controls {
|
||
|
text-align: center;
|
||
|
margin-bottom: 16px;
|
||
|
}
|
||
|
|
||
|
.controls > div {
|
||
|
display: inline-block;
|
||
|
margin: 8px;
|
||
|
}
|
||
|
|
||
|
.controls > div button {
|
||
|
width: 42px;
|
||
|
height: 42px;
|
||
|
padding: 10px 8px 6px 8px;
|
||
|
}
|