Skip to content

Commit 92827f8

Browse files
committed
refactor: 支持 Valdiate
1 parent 34759b6 commit 92827f8

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@import url('cherry-markdown.min.css');
2+
3+
.bb-cherry-markdown {
4+
}
5+
6+
.bb-cherry-markdown.is-valid {
7+
border: 1px solid var(--bs-success);
8+
}
9+
10+
.bb-cherry-markdown.is-invalid {
11+
border: 1px solid var(--bs-danger);
12+
}
13+
14+
.bb-cherry-markdown .cherry {
15+
border: 1px solid var(--bs-border-color);
16+
border-radius: var(--bs-border-radius);
17+
overflow: hidden;
18+
}

0 commit comments

Comments
 (0)