html - 只有一个div时如何利用css画出自己需要的任意图形?有哪些限制?
天蓬老师
天蓬老师 2017-04-17 11:06:07
0
1
672

这个网站只用一个p+CSS3画出了

只用一个p,给它设置background-image,能否画出任意的矢量图形?可以画出的图形有没有什么限制?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
洪涛

CSS drawing graphics is often implemented with the help of pseudo elements: before and :after. At the same time, some properties in CSS3 need to be used. The following blog post introduces some examples of CSS drawing graphics. You can refer to it:

http://xfhnever.github.io/blog/2014/07/24/css-shape/

I don’t particularly understand what you mean, and the answer may not solve your problem.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template