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
原理:border 属性绘制的边框为梯形,只保留一面其他的颜色都设置为transparent透明
transparent
span { width: 0; height: 0; border-top: 40px solid transparent; border-left: 40px solid transparent; border-right: 40px solid transparent; border-bottom: 40px solid #ff0000; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
CSS 画三角
原理:border 属性绘制的边框为梯形,只保留一面其他的颜色都设置为
transparent
透明The text was updated successfully, but these errors were encountered: