Introducing iframify

Avatar of Robin Rendle
Robin Rendle on (Updated on )

Kitty Giraudel writes up why he created iframify, a script which grabs a DOM node and wraps it in an
<iframe>&lt;/code&gt;. It’s a nifty tool for displaying components in a style guide at a certain width and effectively faking element queries.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;An iframe being an inner document, media queries fire based on the width of the iframe rather than on the actual screen size. Which is what we want. Yay!&lt;/p&gt;&lt;/blockquote&gt;</iframe>

Direct Link →