@kangc/v-md-editor
Version:
A markdown editor built on Vue
34 lines (31 loc) • 731 B
CSS
.v-md-editor-preview li.v-md-editor__todo-list-item {
margin-left: -20px;
list-style: none;
}
.v-md-editor-preview .v-md-editor__todo-list-checkbox {
position: relative;
display: inline-block;
width: 15px;
height: 15px;
margin-top: -3px;
margin-right: 4px;
vertical-align: middle;
border-style: solid;
border-width: 1px;
border-radius: 2px;
}
.v-md-editor-preview .v-md-editor__todo-list-checkbox--checked::after {
position: absolute;
top: 2px;
left: 5px;
display: table;
width: 3px;
height: 7px;
border: 2px solid #fff;
border-top: 0;
border-left: 0;
-webkit-transform: rotate(45deg) scale(1);
transform: rotate(45deg) scale(1);
transition: all 0.2s ease-in-out;
content: '';
}