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

第 28 期(W3C 标准-SVG):用SVG画西瓜 #31

Open
wingmeng opened this issue Jun 10, 2019 · 0 comments
Open

第 28 期(W3C 标准-SVG):用SVG画西瓜 #31

wingmeng opened this issue Jun 10, 2019 · 0 comments

Comments

@wingmeng
Copy link
Collaborator

wingmeng commented Jun 10, 2019

题目:

请使用SVG画一个如下图所示的“西瓜”:

image

尺寸:200×200
颜色:#E92F34(红)、#32AC1A(绿)

<svg version="1.1" xmlns="http://www.w3.org/2000/svg">
  <!-- 请开始你的表演 -->
</svg>

参考答案:

<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 208 208">
  <circle
    fill="#E92F34"
    stroke="#32AC1A"
    stroke-width="8"
    cx="104"
    y="100"
    r="100"
  ></circle> 
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant