Gunnar Bittersmann: Text umrahmen in SVG

Beitrag lesen

@@ThomasM

rectobj.setAttribute("height", (1.2 * texthoehe).toFixed(1));
rectobj.setAttribute("width", (1.05 * textbreite).toFixed(1));

Wo kommen die magic numbers her?

🖖 Stay hard! Stay hungry! Stay alive! Stay home!

--
“Turn off CSS. If the page makes no sense, fix your markup.” —fantasai