We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
background: linear-gradient(rgba($dark-color, .5), rgba($dark-color, .5)) bottom, linear-gradient(rgba($dark-color, .5), rgba($dark-color, .5)) top; background-size: 100% 1px; background-repeat: no-repeat;
我看到 nut-cell-border.scss 文件中有如上代码。用 border 也可以实现为啥这里用了看起来比较麻烦的背景做的边框呢?
The text was updated successfully, but these errors were encountered:
这种方式比border更灵活,比如可以轻松实现高分屏1物理像素效果(如果需要的话): background-image: linear-gradient(rgba($dark-color, .5) 0%, rgba($dark-color, .5) 50%, transparent 50%,transparent 100%);
background-image: linear-gradient(rgba($dark-color, .5) 0%, rgba($dark-color, .5) 50%, transparent 50%,transparent 100%);
Sorry, something went wrong.
搜噶搜噶,受教了!
No branches or pull requests
background: linear-gradient(rgba($dark-color, .5), rgba($dark-color, .5)) bottom, linear-gradient(rgba($dark-color, .5), rgba($dark-color, .5)) top; background-size: 100% 1px; background-repeat: no-repeat;
我看到 nut-cell-border.scss 文件中有如上代码。用 border 也可以实现为啥这里用了看起来比较麻烦的背景做的边框呢?
The text was updated successfully, but these errors were encountered: