温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

html5 SVG 涂鸦

发布时间:2020-03-01 18:50:24 来源:网络 阅读:389 作者:antlove 栏目:移动开发
<!DOCTYPE HTML>
<html>
<body>

<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="1000px" height="800px">

<rect
	x="20" 
	y="20" 
	rx="20" 
	ry="20" 
	width="250" 
	height="100" 
	/>

<circle 
	cx="100" 
	cy="160" 
	r="40" 
	stroke="black"
	stroke-width="2" 
	fill="red"
	/>


<ellipse cx="240" cy="230" rx="220" ry="30" />

<ellipse cx="220" cy="270" rx="190" ry="20" />

<ellipse cx="210" cy="345" rx="170" ry="15" />

<line x1="0" y1="0" x2="300" y2="300" />

<polygon points="220,400 300,610 170,650 123,434" />

<polyline points="400,0 400,20 420,20 420,40 440,40 440,60" />

<path d="M153 334
C153 334 151 334 151 334
C151 339 153 344 156 344
C164 344 171 339 171 334
C171 322 164 314 156 314
C142 314 131 322 131 334
C131 350 142 364 156 364
C175 364 191 350 191 334
C191 311 175 294 156 294
C131 294 111 311 111 334
C111 361 131 384 156 384
C186 384 211 361 211 334
C411 300 886 674 500 600"
/>

<defs>
	<filter id="Gaussian_Blur">
		<feGaussianBlur in="SourceGraphic" stdDeviation="20"/>
	</filter>
</defs>

<ellipse 
	cx="500" 
	cy="150" 
	rx="70" 
	ry="40"
	/>

<defs>
	<linearGradient id="orange_red" x1="0%" y1="0%" x2="100%" y2="0%">
		<stop offset="0%" />
		<stop offset="100%" />
	</linearGradient>
</defs>

<ellipse cx="720" cy="190" rx="85" ry="55" />


<defs>
	<radialGradient id="grey_blue" cx="50%" cy="50%" r="80%" fx="50%" fy="50%">
		<stop offset="0%" />
		<stop offset="100%" />
	</radialGradient>
</defs>

<ellipse cx="750" cy="400" rx="110" ry="100" />

</svg>

</body>
</html>


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI