質問編集履歴
1
css追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,7 +32,7 @@
|
|
32
32
|
|
33
33
|
<!-- 表示用SVG -->
|
34
34
|
|
35
|
-
<svg viewBox="0 0 301 186.795" class="
|
35
|
+
<svg viewBox="0 0 301 186.795" class="maskedElem">
|
36
36
|
|
37
37
|
<image xlink:href="https://placekitten.com/g/200/300" width="100%" height="100%" preserveAspectRatio="xMidYMid slice" clip-path="url(#clip01)"/>
|
38
38
|
|
@@ -56,6 +56,20 @@
|
|
56
56
|
|
57
57
|
|
58
58
|
|
59
|
+
```css
|
60
|
+
|
61
|
+
.maskedElem {
|
62
|
+
|
63
|
+
width: 100%;
|
64
|
+
|
65
|
+
height: auto;
|
66
|
+
|
67
|
+
}
|
68
|
+
|
69
|
+
```
|
70
|
+
|
71
|
+
|
72
|
+
|
59
73
|
### 試したこと
|
60
74
|
|
61
75
|
|