anyrtc-whiteboard
Version:
This is an white board SDK include ui, simple ot use, you can visit anyrtc.io get app token.
54 lines (49 loc) • 912 B
CSS
.anyrtc-board {
position: relative;
overflow: auto;
}
.anyrtc-board__view {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
white-space: nowrap;
overflow: hidden;
z-index: -1;
}
.anyrtc-board__bg {
width: 100%;
height: 100%;
transition: transform .3s;
font-size: 0;
}
.anyrtc-board__bg_item {
display: inline-block;
vertical-align: top;
width: 100%;
height: 100%;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
.anyrtc-board__canvas {
width: 100%;
height: 100%;
}
.anyrtc-board__loading {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255,255,255,.9);
text-align: center;
}
.anyrtc-board__loading_svg {
position: absolute;
top: 50%;
left: 50%;
margin-left: -12px;
margin-right: -20px;
}