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

[css] 15.用纯 CSS 创建一个三角形的原理是什么? #36

Open
qiilee opened this issue Sep 27, 2019 · 0 comments
Open

[css] 15.用纯 CSS 创建一个三角形的原理是什么? #36

qiilee opened this issue Sep 27, 2019 · 0 comments
Labels

Comments

@qiilee
Copy link
Member

qiilee commented Sep 27, 2019

答案:

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;
}

css_001

@qiilee qiilee added the CSS label Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant