HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
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.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<div class="all">
<div class=main>
<h1>welcome to my silly bfdi shrine</h1>
<p>here i shall go silly over the bfdi webseries... yay</p>
<h1>what is a bfdi?</h1>
<p>BFDI, short for battle for dream island, is a game-show-type webseries created by twins Cary and Michael Huang. episode 1a, Take The Plunge, was released on january 1st, 2011 i believe? (im too lazy to look it up lmao) and the series has been going on since then, split up into 5(?) seasons. in order, those seasons are:</p>
<ol>
<li>Season 1: BFDI (Battle For Dream Island, jan 1 2011 - [date]), 25 episodes i think</li>
<li>Season 2: BFDIA (Battle For Dream Island Again, [date] - [date]), only 5 episodes but episode 5 is split up into 5 parts, one of which is <a href="http://bfdi.tv/5b/">a game!</a> (requires flash)</li>
<li>Season 3: IDFB (dnalsI maerD roF elttaB, [date] - [date]), only 1 episode :(</li>
<li>Season 4: BFB (Battle for B.F.D.I., later renamed to Battle for B.F.B., [date] - [date]), dunno how many episodes yet lol</li>
<li>Season 5: TPOT (The Power Of Two, [date] - ), split from BFB on episode [number]</li>
</ol>
<p>as of now, all of those add up to 76 episodes? wauw</p>
<h1>i was really obbsessed with BFDI as a child???? lmao</h1>
<p>i have very very very faint memories of watching bfdia on our ipad when i was like. 4 or 5. a few years later, in 3rd grade (i must have been 7-8 then) the series must have popped up on my recommended again because i started getting into it again. like really into it. it was probably my first hyperfixation or something (am i allowed to use that term when im not diagnosed with anything? im probably not autistic, lol.) ever since then ive been a somewhat active fan of bfdi. every so often i rewatch the entire series since its so fun :3 havent gotten to tpot yet tho? ill try 2 be an active voter :p alsoo i think it would be really cool and fun and silly if i sewed a firey plushy lmao</p>
<h1>look at this masterpiece</h1>
<center>
<img src="https://troy-sucks.neocities.org/shrines/bfdi/art1.jpg" width="300px">
<img src="https://troy-sucks.neocities.org/shrines/bfdi/art2.jpg" width="300px">
<p>around 3rd grade i think? i had started to get in my bfdi phase, like, for real this time. there are other documents lost to time where i just made fanart of each contestant on a page of notebook paper... if i find them im sharing them here immediately</p>
</center>
<h1>bfdi tierlist?</h1>
<p>he'll yes</p>
<center>
<img src="https://troy-sucks.neocities.org/shrines/bfdi/tierlist.png" width="90%">
<p>this is not just my definitive opinion, but actually fact. anyone else who thinks different is wrong sorry</p>
</center>
<h2>###THANK YOU FOR VIEWING MY BFDI / BFDIA / IDFB / BFB / TPOT SHRINE!!!!! GOODBYE###</h2>
<p>bfdia is the best season btw</p>
</div>
<div class="leftall">
<h1>this is the left side</h1>
<p>welcome and enjoy these graphics i found after 5 minutes of searching on tumblr</p>
<p>stamps by <a href="https://thisdastampdoesnotexist.tumblr.com/">thisdastampdoesnotexist on tumblr!</a></p>
<div class="graphixcontainer">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp01.png" height="55px"><img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp02.png" height="55px"><img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp03.gif" height="55px"><img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp04.png" height="55px">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp05.png" height="55px">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp06.jpg" height="55px">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp07.png" height="55px">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp08.jpg" height="55px">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp09.png" height="55px">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp10.png" height="55px">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp11.png" height="55px"><img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp12.png" height="55px"><img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp13.png" height="55px"><img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp14.png" height="55px">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp15.png" height="55px">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp16.png" height="55px">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp17.png" height="55px">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp18.png" height="55px">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp19.png" height="55px">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp20.png" height="55px">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp21.png" height="55px">
<img class="stamp" src="https://troy-sucks.neocities.org/shrines/bfdi/stamp22.png" height="55px">
</div>
<p>the entirety of bfdi 1a as a gif lmao</p>
<center><img src="https://troy-sucks.neocities.org/shrines/bfdi/bfdi1a.gif" width="200px">
<p>blinkies by <a href="https://nnugatoryextravagance.tumblr.com/
">nnugatoryextravagance on tumblr!</a></p>
<div class="graphixcontainer">
<img src="https://troy-sucks.neocities.org/shrines/bfdi/blinkie1.gif">
<img src="https://troy-sucks.neocities.org/shrines/bfdi/blinkie2.gif">
<img src="https://troy-sucks.neocities.org/shrines/bfdi/blinkie3.gif">
<img src="https://troy-sucks.neocities.org/shrines/bfdi/blinkie4.gif">
<img src="https://troy-sucks.neocities.org/shrines/bfdi/blinkie5.gif">
<img src="https://troy-sucks.neocities.org/shrines/bfdi/blinkie6.gif">
<img src="https://troy-sucks.neocities.org/shrines/bfdi/blinkie7.gif">
<img src="https://troy-sucks.neocities.org/shrines/bfdi/blinkie8.gif">
</div>
</center>
</div>
</div>
@font-face {
font-family: "yay";
src: url("https://files.catbox.moe/kyozie.ttf") format("truetype");
}
body {
background: url('https://troy-sucks.neocities.org/shrines/bfdi/background.jpg');
font-family: "yay";
color: blue;
}
.all {
border: 3px dashed yellow;
width: 1000px;
height: 750px;
margin: auto;
margin-top: 100px;
margin-bottom: 100px;
background: url('https://troy-sucks.neocities.org/shrines/bfdi/allbg.png');
}
.main {
border: 2px solid lime;
height: 727px;
width: 648px;
margin-left: 10px;
margin-top: 10px;
position: absolute;
background: rgba(0, 255, 255, 0.5);
overflow: auto;
}
.leftall {
border: 2px solid cyan;
height: 727px;
width: 315px;
margin-left: 672px;
margin-top: 10px;
position: absolute;
background: rgba(75, 255, 0, 0.5);
overflow: auto;
}
.graphixcontainer {
border: 3px dashed magenta;
width: 240px;
margin: auto;
text-align: center;
padding: 5px;
background: url('https://troy-sucks.neocities.org/shrines/bfdi/bfdipattern.jpg') fixed;
}
h1 {
padding-left: 10px;
color: magenta;
}
p {
padding-left: 10px;
}
a {
color: yellow;
}
h2 {
color: red;
font-size: 20px;
}
Also see: Tab Triggers