Skip to content

Instantly share code, notes, and snippets.

View rhawbert's full-sized avatar

Rhawbert Costa rhawbert

View GitHub Profile
@rhawbert
rhawbert / bad-safari.html
Last active February 6, 2018 06:19
Safari 8 (iOS & Mac OS) doesn't render injected SVG sprites when defined later, after the actual svg > use tags
<h1>Safari 8 is a no go (iOS & Mac OS)</h1>
<p>Desktop version 8.0 (10600.1.25), Mobile v. 8.0.2</p>
<h2>Before the svg sprite as symbol</h2>
<svg class="icon">
<use xlink:href="#icon-airplane" />
</svg>
<svg xmlns="http://www.w3.org/2000/svg" style="display:none; position:absolute; width:0; height:0;">
@rhawbert
rhawbert / dabblet.css
Created January 16, 2012 13:02
Untitled
* {
margin:0;
padding:0;
}
div {
width:170px;
overflow:visible;
margin:100px;