1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-07 00:58:02 +00:00

Use codepen iframe instead of html

This commit is contained in:
jbranchaud
2018-11-20 10:52:04 -06:00
parent d5798308b4
commit eadabcde85

View File

@@ -5,13 +5,8 @@ The
function in its simplest form can be used to style the background of an function in its simplest form can be used to style the background of an
element with a vertical, linear gradient between two colors. element with a vertical, linear gradient between two colors.
<p data-height="251" data-theme-id="0" data-slug-hash="pQpypW" <iframe height='251' scrolling='no' title='pQpypW' src='//codepen.io/jbranchaud/embed/pQpypW/?height=251&theme-id=0&default-tab=result' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%;'>See the Pen <a href='https://codepen.io/jbranchaud/pen/pQpypW/'>pQpypW</a> by Josh Branchaud (<a href='https://codepen.io/jbranchaud'>@jbranchaud</a>) on <a href='https://codepen.io'>CodePen</a>.
data-default-tab="result" data-user="jbranchaud" data-pen-title="pQpypW" </iframe>
class="codepen">See the Pen <a
href="https://codepen.io/jbranchaud/pen/pQpypW/">pQpypW</a> by Josh
Branchaud (<a href="https://codepen.io/jbranchaud">@jbranchaud</a>) on <a
href="https://codepen.io">CodePen</a>.</p>
<script async src="https://static.codepen.io/assets/embed/ei.js"></script>
Here is what the CSS looks like: Here is what the CSS looks like: