feat: 新增文字移动实时显示网格辅助线
This commit is contained in:
@@ -513,3 +513,23 @@ html, body {
|
||||
.guide-line.visible {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* 1px 网格线 */
|
||||
.grid-lines {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
pointer-events: none;
|
||||
z-index: 5;
|
||||
display: none;
|
||||
background-image:
|
||||
linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
|
||||
linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
|
||||
background-size: 10px 10px;
|
||||
}
|
||||
|
||||
.grid-lines.visible {
|
||||
display: block;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user