Skip to content

[html] 第93天 有使用过svg吗?请用svg画一个圆 #906

Open
@haizhilin2013

Description

@haizhilin2013
Collaborator

第93天 有使用过svg吗?请用svg画一个圆

Activity

ghost

ghost commented on Jul 17, 2019

@ghost
<svg width="50" height="50">
    <circle cx="25" cy="25" r="10" fill="black" />
</svg>
dondonZh

dondonZh commented on Jul 18, 2019

@dondonZh

通过iconsvg封装的 既然叫我画了 我就画吧


nowherebutup

nowherebutup commented on Jul 18, 2019

@nowherebutup
 <svg viewBox="0 0 120 60">
    <circle cx="10" cy="10" r="5" />
 </svg>

viewBox:画布的 最小x轴数值,最小y轴数值,宽度,高度

xxf1996

xxf1996 commented on Jul 18, 2019

@xxf1996
<svg width="500" height="500" viewBox="-100 -100 500 500">
  <circle cx="100" cy="100" r="100" fill="#39f" />
</svg>
censek

censek commented on Jan 10, 2020

@censek
 <svg width="500" height="500">
    <circle cx="100" cy="100" r="80" fill="skyblue"></circle>
 </svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @haizhilin2013@xxf1996@dondonZh@nowherebutup@censek

        Issue actions

          [html] 第93天 有使用过svg吗?请用svg画一个圆 · Issue #906 · haizlin/fe-interview