Skip to content

Instantly share code, notes, and snippets.

@tomByrer
Created November 13, 2014 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomByrer/98b1f169da2dbfb77e1f to your computer and use it in GitHub Desktop.
Save tomByrer/98b1f169da2dbfb77e1f to your computer and use it in GitHub Desktop.
Testing adding width & hight to twemoji's SVG
Display the source blob
Display the rendered blob
Raw
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" width="47.5" height="47.5" viewBox="0 0 47.5 47.5" style="enable-background:new 0 0 47.5 47.5;" id="svg2" xml:space="preserve"><defs id="defs6"><clipPath id="clipPath18"><path d="M 0,38 38,38 38,0 0,0 0,38 z" id="path20"/></clipPath></defs><g transform="matrix(1.25,0,0,-1.25,0,47.5)" id="g12"><g id="g14"><g clip-path="url(#clipPath18)" id="g16"><g transform="translate(37,17)" id="g22"><path d="m 0,0 c 0,-10 -11,-16 -18,-16 -7,0 -18,6.059 -18,16 0,9.941 4,20 18,20 C -4,20 0,10 0,0" id="path24" style="fill:#ffcc4d;fill-opacity:1;fill-rule:nonzero;stroke:none"/></g><g transform="translate(36,36)" id="g26"><path d="m 0,0 c 1,-1 0,-11 0,-11 l -8,10 c 0,0 7,2 8,1" id="path28" style="fill:#ffcc4d;fill-opacity:1;fill-rule:nonzero;stroke:none"/></g><g transform="translate(2,36)" id="g30"><path d="M 0,0 C -1,-1 0,-11 0,-11 L 8,-1 C 8,-1 1,1 0,0" id="path32" style="fill:#ffcc4d;fill-opacity:1;fill-rule:nonzero;stroke:none"/></g><g transform="translate(32.4043,13.2949)" id="g34"><path d="m 0,0 c -0.123,0.169 -0.338,0.245 -0.542,0.186 -0.069,-0.02 -7,-1.981 -12.863,-1.981 -5.858,0 -12.793,1.961 -12.862,1.981 -0.209,0.062 -0.431,-0.022 -0.552,-0.201 -0.12,-0.179 -0.113,-0.416 0.02,-0.587 0.292,-0.376 7.221,-9.193 13.394,-9.193 7.185,0 13.166,8.846 13.417,9.223 C 0.128,-0.397 0.123,-0.17 0,0" id="path36" style="fill:#292f33;fill-opacity:1;fill-rule:nonzero;stroke:none"/></g><g transform="translate(8.9995,12)" id="g38"><path d="m 0,0 c 0,0 5,-2 10,-2 5,0 10,2 10,2 0,0 0,-3 -1,-3 -1,0 -2,1 -2,1 0,0 -4,-2 -7,-2 C 7,-4 3,-2 3,-2 3,-2 2,-3 1,-3 0,-3 0,0 0,0" id="path40" style="fill:#f5f8fa;fill-opacity:1;fill-rule:nonzero;stroke:none"/></g><g transform="translate(18.9995,17.5)" id="g42"><path d="m 0,0 c 3,0 3,-0.5 3,-1.5 0,-1 -1.5,-3 -3,-3 -1.5,0 -3,2 -3,3 0,1 0,1.5 3,1.5" id="path44" style="fill:#67757f;fill-opacity:1;fill-rule:nonzero;stroke:none"/></g><g transform="translate(27,16.5)" id="g46"><path d="m 0,0 c -0.209,0 -0.404,0.133 -0.475,0.342 -0.087,0.262 0.055,0.545 0.317,0.633 l 9,2.999 C 9.105,4.062 9.387,3.92 9.475,3.658 9.562,3.396 9.42,3.113 9.158,3.026 l -9,-3.001 C 0.105,0.008 0.053,0 0,0" id="path48" style="fill:#9aaab4;fill-opacity:1;fill-rule:nonzero;stroke:none"/></g><g transform="translate(25.999,14.5)" id="g50"><path d="m 0,0 c -0.233,0 -0.441,0.164 -0.489,0.402 -0.055,0.271 0.121,0.535 0.392,0.588 l 10,2 C 10.163,3.044 10.437,2.87 10.491,2.598 10.546,2.327 10.37,2.063 10.099,2.01 l -10,-2 C 0.066,0.003 0.033,0 0,0" id="path52" style="fill:#9aaab4;fill-opacity:1;fill-rule:nonzero;stroke:none"/></g><g transform="translate(11,16.5)" id="g54"><path d="m 0,0 c -0.052,0 -0.105,0.008 -0.158,0.025 l -9,3.001 c -0.262,0.087 -0.404,0.37 -0.316,0.632 0.087,0.262 0.368,0.404 0.632,0.316 l 9,-2.999 C 0.42,0.887 0.562,0.604 0.474,0.342 0.404,0.133 0.209,0 0,0" id="path56" style="fill:#9aaab4;fill-opacity:1;fill-rule:nonzero;stroke:none"/></g><g transform="translate(12.0005,14.5)" id="g58"><path d="m 0,0 c -0.032,0 -0.065,0.003 -0.099,0.01 l -10,2 c -0.27,0.053 -0.446,0.317 -0.392,0.588 0.054,0.271 0.313,0.449 0.589,0.392 l 10,-2 C 0.368,0.937 0.544,0.673 0.49,0.402 0.442,0.164 0.233,0 0,0" id="path60" style="fill:#9aaab4;fill-opacity:1;fill-rule:nonzero;stroke:none"/></g><g transform="translate(17.2261,31.8828)" id="g62"><path d="m 0,0 c -0.859,2.431 -3.525,3.708 -5.956,2.85 -1.477,-0.52 -2.521,-1.711 -2.928,-3.104 -1.192,0.829 -2.752,1.1 -4.225,0.58 -2.431,-0.857 -3.708,-3.525 -2.849,-5.956 0.122,-0.345 0.283,-0.663 0.472,-0.958 1.951,-3.582 7.588,-6.1 11.002,-6.131 2.636,2.167 5.445,7.664 4.716,11.677 C 0.194,-0.693 0.119,-0.344 0,0" id="path64" style="fill:#e75a70;fill-opacity:1;fill-rule:nonzero;stroke:none"/></g><g transform="translate(20.7744,31.8828)" id="g66"><path d="m 0,0 c 0.859,2.431 3.525,3.708 5.956,2.85 1.477,-0.52 2.521,-1.711 2.929,-3.104 1.191,0.829 2.751,1.1 4.224,0.58 2.43,-0.857 3.707,-3.525 2.85,-5.956 -0.123,-0.345 -0.284,-0.663 -0.473,-0.958 -1.951,-3.582 -7.588,-6.1 -11.002,-6.131 -2.636,2.167 -5.445,7.664 -4.716,11.677 C -0.194,-0.693 -0.119,-0.344 0,0" id="path68" style="fill:#e75a70;fill-opacity:1;fill-rule:nonzero;stroke:none"/></g></g></g></g></svg>
@tomByrer
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment