JavaScript preprocessors can help make authoring JavaScript easier and more convenient. For instance, CoffeeScript can help prevent easy-to-make mistakes and offer a cleaner syntax and Babel can bring ECMAScript 6 features to browsers that only support ECMAScript 5.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
HTML Settings
Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
<div class="card-container">
<div class="card-background">
<div class="card-frame">
<div class="frame-header">
<h1 class="name">Oath of Nissa</h1>
<i class="ms ms-g" id="mana-icon"></i>
</div>
<img class="frame-art" src="images/CZ5oiQ7WcAAi7y8.jpg" alt="nissa art">
<div class="frame-type-line">
<h1 class="type">Legendary Enchantment</h1>
<img src="images/OGW_R.png" id="set-icon" alt="OGW-icon">
</div>
<div class="frame-text-box">
<p class="description ftb-inner-margin">When Oath of Nissa enters the battlefield, look at the top three cards of your library. You may reveal a creature, land, or planeswalker card from among them and put it into your hand. Put the rest on the bottom of your library in any order.
</p>
<p class="description">
You may spend mana as though it were mana of any color to cast planeswalker spells.
</p>
<p class="flavour-text">"For the life of every plane, I will keep watch."
</p>
</div>
<div class="frame-bottom-info inner-margin">
<div class="fbi-left">
<p>140/184 R</p>
<p>OGW • EN <img class="paintbrush" src="images/paintbrush_white.png" alt="paintbrush icon"> Wesley Burt</p>
</div>
<div class="fbi-center"></div>
<div class="fbi-right">
™ & © 2016 Wizards of the Coast
</div>
</div>
</div>
</div>
</div>
/* Reset */
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* End of reset */
.card-container {
border: 1px solid black;
width: 500px;
height: 700px;
margin: 0 auto;
margin-top: 56px;
border-radius: 25px;
box-sizing: border-box;
box-shadow: -8px 9px 16px -3px gray;
}
.card-background {
height: 600px;
margin: 20px 20px 0 20px;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
border-bottom-left-radius: 8%;
border-bottom-right-radius: 8%;
background-size: cover;
display: flex;
background-color: #bbb;
}
Also see: Tab Triggers