teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

2

chosei

2020/06/28 04:08

投稿

yambejp
yambejp

スコア117877

answer CHANGED
@@ -8,6 +8,13 @@
8
8
  <stop offset="100%" stop-color="#0000d0" />
9
9
  </linearGradient>
10
10
  </defs>
11
+ <text x="100" y="60" font-weight="bold" font-size="30">
12
+ 発売中!
13
+ </text>
14
+ <text x="230" y="60" font-size="30" fill="#c0c0c0">
15
+ &gt;
16
+ </text>
11
17
  <polygon stroke="url(#grad)" fill-opacity="0" stroke-width="10" points="30,5 290,5 270,95 10,95 "/>
12
18
  </svg>
19
+
13
20
  ```

1

調整

2020/06/28 04:08

投稿

yambejp
yambejp

スコア117877

answer CHANGED
@@ -3,9 +3,9 @@
3
3
  <svg width="300" height="100" xmlns="http://www.w3.org/2000/svg">
4
4
  <defs>
5
5
  <linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="5%">
6
- <stop offset="0%" stop-color="#e0e000" stop-opacity="1"/>
6
+ <stop offset="0%" stop-color="#e0e000" />
7
- <stop offset="50%" stop-color="#ffffff" stop-opacity="1"/>
7
+ <stop offset="50%" stop-color="#ffffff" />
8
- <stop offset="100%" stop-color="#0000d0" stop-opacity="1"/>
8
+ <stop offset="100%" stop-color="#0000d0" />
9
9
  </linearGradient>
10
10
  </defs>
11
11
  <polygon stroke="url(#grad)" fill-opacity="0" stroke-width="10" points="30,5 290,5 270,95 10,95 "/>