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
/*扇形*/ .sector { width: 0; height: 0; border: 100px solid red; border-color: red transparent transparent transparent; border-radius: 50%; } /*或者*/ .sector { width: 100px; height: 100px; border: 100px solid transparent; border-top-color: red; box-sizing: border-box; /* 这步很重要 */ border-radius: 50%; }
/*三角形*/ .triangle { width: 0; height: 0; border: 100px solid red; border-color: red transparent transparent transparent; } /*或者*/ .triangle { width: 100px; height: 100px; border: 100px solid transparent; border-top-color: red; box-sizing: border-box; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
如何画扇形?三角形?
The text was updated successfully, but these errors were encountered: