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 Tricks #52

Open
QiShaoXuan opened this issue Jun 18, 2019 · 5 comments
Open

三角镂空 | CSS Tricks #52

QiShaoXuan opened this issue Jun 18, 2019 · 5 comments

Comments

@QiShaoXuan
Copy link
Owner

https://qishaoxuan.github.io/css_tricks/hollowOut/trangle.html

some CSS tricks, 一些常用的 CSS 样式, 一点 CSS 技巧

@cMing1997
Copy link

这里使用伪元素也可以写的,没必要这么复杂啊

@cangyu1993
Copy link

@CasualMing
这里使用伪元素也可以写的,没必要这么复杂啊

怎么写呢?

@cMing1997
Copy link

可以看做是一个大盒子,凸出的部分使用伪元素定位,伪元素画三角形

@cangyu1993
Copy link

噢噢,懂了,befor和after齐上阵了,谢谢

@cMing1997
Copy link

噢噢,懂了,befor和后齐上阵了,谢谢

是的

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

No branches or pull requests

3 participants