-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cleanupStyleAttributes): minify opacities in properties. (#85)
- Loading branch information
1 parent
810d78a
commit 339f2e3
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Minify opacities. | ||
|
||
=== | ||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"> | ||
<rect width="20" height="6" style="fill:blue;fill-opacity:0.5"/> | ||
<rect y="8" width="20" height="6" style="stroke:blue;stroke-opacity:0.2"/> | ||
<g style="opacity:0.1"> | ||
<rect y="16" width="20" height="6"/> | ||
</g> | ||
</svg> | ||
|
||
@@@ | ||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"> | ||
<rect width="20" height="6" style="fill:blue;fill-opacity:.5"/> | ||
<rect y="8" width="20" height="6" style="stroke:blue;stroke-opacity:.2"/> | ||
<g style="opacity:.1"> | ||
<rect y="16" width="20" height="6"/> | ||
</g> | ||
</svg> |