Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

背景网格可以考虑用渐变去实现 #47

Closed
classyuan opened this issue Mar 7, 2021 · 3 comments
Closed

背景网格可以考虑用渐变去实现 #47

classyuan opened this issue Mar 7, 2021 · 3 comments

Comments

@classyuan
Copy link

图片的兼容不太好,尺寸不同就会出现被拉升,用渐变可以很好的支持,同时网格颜色也可以抛出来供配置
.gantt-block {
background-image: -webkit-linear-gradient(top, transparent 199px, #333 200px),
-webkit-linear-gradient(left, transparent 199px, #333 200px);
}

@w1301625107
Copy link
Owner

嗯,好的,我有空就换上

@gitgundam
Copy link

好家伙

@w1301625107
Copy link
Owner

w1301625107 commented Mar 9, 2021

已经在 #674b88c 中更新

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants