来个高手 求用纯css画一个带圆角的三角形
顺便再请假一下,对于用css来画图 有什么重点? 现在撑死画个梯形三角形什么的
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
cssp { width: 0; height: 0; transform: rotate(45deg); border-width: 20px; border-color: #000 transparent transparent #000; border-style: solid; border-top-left-radius: 10px; }
css
p { width: 0; height: 0; transform: rotate(45deg); border-width: 20px; border-color: #000 transparent transparent #000; border-style: solid; border-top-left-radius: 10px; }
I didn’t make it clear what my requirements were, so I just drew one casually.
Look at this https://css-tricks.com/examples/ShapesOfCSS/
How to add borders to graphics drawn with css? Can it only be achieved by overlapping two graphics?
I didn’t make it clear what my requirements were, so I just drew one casually.
Look at this https://css-tricks.com/examples/ShapesOfCSS/
How to add borders to graphics drawn with css? Can it only be achieved by overlapping two graphics?