preparing blocks

This commit is contained in:
Stephan Richter
2020-09-14 19:39:40 +02:00
parent 9ac2801522
commit 1e1b3f434f
4 changed files with 11 additions and 1 deletions

View File

@@ -40,6 +40,9 @@ svg rect{
svg text{
font-size: 50px;
}
svg .block{
fill: #ffffff;
}
.menu{
position: fixed;

5
resources/svg/BlockH.svg Normal file
View File

@@ -0,0 +1,5 @@
<svg width="100" height="100" viewbox="0 0 100 100">
<rect x="0" y="35" width="100" height="30" />
<rect class="block" x="10" y="10" width="80" height="80" />
<text x="10" y="65" fill="red">I love SVG!</text>
</svg>

After

Width:  |  Height:  |  Size: 218 B

View File

@@ -1,3 +1,3 @@
<svg width="100" height="100" viewbox="0 0 100 100">
<rect x="0" y="35" width="100" height="30" />
<rect x="0" y="35" width="100" height="30" />
</svg>

Before

Width:  |  Height:  |  Size: 107 B

After

Width:  |  Height:  |  Size: 106 B