Skip to content

Commit 73f34c6

Browse files
committed
More readable svg xml for gentle wave
I'm thinking about tweaking it, and this will make it easier to see what I'm doing.
1 parent 2a30d40 commit 73f34c6

1 file changed

Lines changed: 16 additions & 26 deletions

File tree

Lines changed: 16 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,17 @@
1-
<svg class="flowing"
2-
xmlns="http://www.w3.org/2000/svg"
3-
xmlns:xlink="http://www.w3.org/1999/xlink"
4-
viewBox="0 24 150 28 "
5-
preserveAspectRatio="none">
6-
<defs>
7-
<path id="gentle-wave"
8-
d="M-160 44c30 0
9-
58-18 88-18s
10-
58 18 88 18
11-
58-18 88-18
12-
58 18 88 18
13-
v44h-352z" />
14-
</defs>
15-
<g class="parallax1">
16-
<use xlink:href="#gentle-wave" x="50" y="3"/>
17-
</g>
18-
<g class="parallax2">
19-
<use xlink:href="#gentle-wave" x="50" y="0"/>
20-
</g>
21-
<g class="parallax3">
22-
<use xlink:href="#gentle-wave" x="50" y="9"/>
23-
</g>
24-
<g class="parallax4">
25-
<use xlink:href="#gentle-wave" x="50" y="6"/>
26-
</g>
1+
<svg
2+
class="flowing"
3+
xmlns="http://www.w3.org/2000/svg"
4+
xmlns:xlink="http://www.w3.org/1999/xlink"
5+
viewBox="0 24 150 28"
6+
preserveAspectRatio="none">
7+
<defs>
8+
<path
9+
id="gentle-wave"
10+
d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z"
11+
/>
12+
</defs>
13+
<g class="parallax1"><use xlink:href="#gentle-wave" x="50" y="3"/></g>
14+
<g class="parallax2"><use xlink:href="#gentle-wave" x="50" y="0"/></g>
15+
<g class="parallax3"><use xlink:href="#gentle-wave" x="50" y="9"/></g>
16+
<g class="parallax4"><use xlink:href="#gentle-wave" x="50" y="6"/></g>
2717
</svg>

0 commit comments

Comments
 (0)