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.
<center><style>
#fontformat_menue .xob_subiconlist{width:200px !important;mmargin-top:-200px;margin-left:-100px !important;color:#000000;padding:5px 0;overflow: visible !important;}
#fontformat_menue span {font-size:13px; background-image: linear-gradient(180deg,#DCDCDC,#fff 50%,#DCDCDC);border-radius:3px; color:#000000; padding:1px 9px;}
#fontformat_menue span:hover {color:#0763b8 !important;}
#fontformat_on {margin-bottom:10px !important;height:400px; overflow-y:scroll;}
#fontformat_on div{clear:both !important;line-height:16px;margin-left:15px; min-width:135px;text-align:left !important; padding:2px 5px; color:#000000; font-weight:bold;cursor:pointer;white-space:nowrap;}
#fontformat_on div:hover{background:#DCDCDC; color:#000;}
#fontformat_menue .format_h {width:135px; font-weight:bold; background:#00005e; color:#000 !important; border-radius:3px; margin:8px 0 4px 5px !important; padding: 1px 15px !important; text-align:left !important; cursor:move !important; background-image: linear-gradient(180deg,#DCDCDC,#fff 50%,#DCDCDC);}
#fontformat_menue .format_h:hover {background:#ddd; background-image: linear-gradient(180deg,#111,#fff 50%,#111);}
</style>
<div class="xob_icon_cont hassub" onmouseover="showSub('10003')" onmouseout="hideSub('10003')" id="fontformat_menue">
<span title="Schrift beliebig formatieren, bitte anklicken!">Format</span>
<div class="xob_subiconlist" id="xob_sub_10003">
<div id="fontformat_on">
<div class="format_h">Überschrift</div>
<div onclick="xob_insert('[h1][style=color:#1874c9]','[/style][/h1][hr2]')"title='Überschrift sehr groß kann man einfügen bitte anklicken! mann kann auch den Text makieren und dann anklicken!'>h1 - sehr groß</div>
<div onclick="xob_insert('[h2][style=color:#1874c9]','[/style][/h2][hr2]')"title='Überschrift groß kann man einfügen bitte anklicken! mann kann auch den Text makieren und dann anklicken!'>h2 - groß</div>
<div onclick="xob_insert('[h3][style=color:#1874c9]','[/style][/h3][hr2]')"title='Überschrift groß kann man einfügen bitte anklicken! mann kann auch den Text makieren und dann anklicken!'>h3 - klein</div>
<div class="format_h">Spoiler</div>
<div onclick="xob_insert('[spoiler2=Thema]','[/spoiler2]')" title='Spoiler-Box Normal mit Namen und Schließen-Button!'>HPM-Spoiler</div>
<div onclick="xob_insert('[spoiler4=https://files.homepagemodules.de/b104774/a_446_6cd74fb0.png = Text Spoiler-Titelleiste]Der Text zur inneren Grafik','[/spoiler4]')" title='Spoiler-Box mit Namen und HTML - Code und Schließen-Button!'>Spoiler HTML</div>
<div onclick="xob_insert('[spoiler4=https://files.homepagemodules.de/b104774/a_447_9d981934.png = Text Spoiler-Titelleiste]Der Text zur inneren Grafik','[/spoiler4]')" title='Spoiler-Box mit Namen und Css - Code und Schließen-Button!'>Spoiler CSS</div>
<div onclick="xob_insert('[spoiler4=https://files.homepagemodules.de/b104774/a_450_c6fe4e46.jpg = Text Spoiler-Titelleiste]Der Text zur inneren Grafik','[/spoiler4]')" title='Spoiler-Box mit Namen und Java - Code und Schließen-Button!'>Spoiler Java - Code</div>
<div onclick="xob_insert('[spoiler4=https://files.homepagemodules.de/b906480/a_11_0ca2e17c.png = Text Spoiler-Titelleiste]Der Text zur inneren Grafik','[/spoiler4]')" title='Spoiler-Box mit Namen und BB - Code und Schließen-Button!'>Spoiler BB - Code</div>
<div onclick="xob_insert('[spoiler4=https://files.homepagemodules.de/b104774/a_344_95d62af2.png = Text Spoiler-Titelleiste]Der Text zur inneren Grafik','[/spoiler4]')" title='Spoiler-Box mit Namen und E-mail und Schließen-Button!'>Spoiler E-mail</div>
<div class="format_h">Hintergrund</div>
<div onclick="xob_insert('[bg10]','[/end]')" style="background-color:#00115f;color:#eeeeee;border:0.5px solid #aaaaaa;"title='Hintergrund Farbe kann man einfügen bitte anklicken! mann kann auch den Text makieren und dann anklicken!'>Blau</div>
<div onclick="xob_insert('[bg11]','[/end]')" style="background-color:#982a26;color:#eeeeee;border:0.5px solid #aaaaaa;"title='Hintergrund Farbe kann man einfügen bitte anklicken! mann kann auch den Text makieren und dann anklicken!'>Rot</div>
<div onclick="xob_insert('[bg13]','[/end]')" style="background-color:#154015;color:#eeeeee;border:0.5px solid #aaaaaa;"title='Hintergrund Farbe kann man einfügen bitte anklicken! mann kann auch den Text makieren und dann anklicken!'>Grün</div>
<div onclick="xob_insert('[bg15]','[/end]')" style="background-color:#bbbbbb;color:#000000;border:0.5px solid #aaaaaa;"title='Hintergrund Farbe kann man einfügen bitte anklicken! mann kann auch den Text makieren und dann anklicken!'>Weiß</div>
<div onclick="xob_insert('[background-color=#eeeeee]','[/background]')" style="background-color:#ffffff;color:#000000;border:0.5px solid #dddddd;"title='Hintergrund Farbe kann man einfügen bitte anklicken! mann kann auch den Text makieren und dann anklicken!'>Farbe variabel</div>
<div class="format_h">Bild einfügen</div>
<div onclick="xob_insert('[img=300px]','[/img]')"title='Bild einfügen mit Bildgröße größe kann verändert werden [.img=300px] ... [./img]!'><img title="Bildeinfügen mit größe Größe kann verändert werden[.img=300px] ... [./img]." class="xob_icon" src="https://img.homepagemodules.de/ds/static/gaia/picture.png" width="16" height="16"> Bildeinfügen mit größe</div>
<div onclick="xob_insert('[img_mod=200px]','[/img]')"title='Bild einfügen mit mit Modal bitte anklicken!!'><img title="Bildeinfügen mit Modal bitte anklicken! ." class="xob_icon" src="https://img.homepagemodules.de/ds/static/gaia/picture.png" width="16" height="16"> Modal-einfügen</div>
<div class="format_h">Tooltipps</div>
<div onclick="xob_insert('[/tooltipp_text]','[/tooltipp_ende]')"title='Tooltipp-Text einfügen bitte anklicken!!'><img src="https://files.homepagemodules.de/b906480/a_128_1ae160de.png" width="20px"> Text-Tooltipps</div>
<div onclick="xob_insert('[Info]','[/Info]')"title='Hier kann man Informationen besonders und auffallend darstellen! bitte anklicken!'><img src="//files.homepagemodules.de/b104774/a_418_082d8d68.png
" width="20px"> Info-Tooltipps</div>
<div onclick="xob_insert('[Hilfe]','[/Hilfe]')"title='Hier können Fragen besonders und auffallend darstellt werden! bitte anklicken!'><img src="//files.homepagemodules.de/b104774/a_414_7f8895ab.png
" width="20px"> Hilfe-Tooltipps</div>
<div onclick="xob_insert('[Fehler]','[/Fehler]')"title='Hier kann man die Fehlermeldungen auffällig hervorheben! bitte anklicken!'><img src="//files.homepagemodules.de/b104774/a_181_74b3dff7.png" width="20px"> Fehler-Tooltipps</div>
<div onclick="xob_insert('[Warnung]','[/Warnung]')"title='Hier kann mit der Warnungen besonders hervorheben! bitte anklicken!'> <img src="//files.homepagemodules.de/b104774/a_185_f226c42e.png" width="20px"> Warn-Tooltipps</div>
<div onclick="xob_insert('[Verwarnung]','[/Verwarnung]')"title='Hier kann mit der Verwarnung besonders hervorheben! bitte anklicken!'><img src="//files.homepagemodules.de/b906480/a_97_527576ef.png" width="20px"> Verwarnung</div>
<div onclick="xob_insert('[Achtung]','[/Achtung]')"title='Hier kann mit der Achtung besonders hervorheben! bitte anklicken!'><img src="//files.homepagemodules.de/b104774/a_420_33afe886.png" width="20px"> Achtung-Tooltipps</div>
<div onclick="xob_insert('[Geheim]','[/Geheim]')"title='Mit dem folgenden Foren-Code wird eine Nachricht abgeschattet, nicht gleich sichtbar dargestellt! Wird die abgeschattete Nachricht markiert, ist sie lesbar! Gut einsetzbar bei Rätselaufgaben, bei Frage- und Antwortspielen.!'><img src="//img.homepagemodules.de/ds/static/threadicons/hestia/topic_unread_locked.gif" width="20px"> Geheim-Tooltipps</div>
<div class="format_h">Textumrandungen</div>
<div onclick="xob_insert('[Textumrandung-silber]','[/Textumrandung-silber]')"title='Hier kann man den Text umranden! einfach den text makieren und hier bitte anklicken!'><img src="//files.homepagemodules.de/b906480/a_42_5d933d88.png" width="25px"> Umrandung silber</div>
<div class="admin format_h">Nur für Mitglieder</div>
<div onclick="xob_insert('[user]','[/user]')"title='Hier kann man den Text für Gäste verstecken! einfach den text makieren und hier bitte anklicken!'><img src="//files.homepagemodules.de/b2001010/a_463.png" width="25px"> Mitglieder</div>
<div onclick="xob_insert('[Info]Bitte melden Sie sich an! Dieser Beitrag ist nur für Mitglieder! [img=150px]https://i.ibb.co/f8BjBY2/pngwing-com-30.png[/img][/end] ','')"title='Hier sehen die Gäste eine Information mit Bild. Bitte melden Sie sich an! Dieser Beitrag ist nur für Mitglieder! einfach hier bitte anklicken!'><img src="//files.homepagemodules.de/b2001010/a_463.png" width="25px"> Mitglieder mit Bild</div>
<div class="admin format_h">Hilfstexte</div>
<div onclick="xob_insert('[br][br][welcome][br][br][h2][u]xxxxxx','[/u][/h2][br]Ich möchte Dich im Forum für Service Crew Loreth herzlich [b]Willkommen[/b] heißen.[br][br][i]Auch hier:[/i] [url=https://www.servicecrewloreth.de]Willkommen im Forum [/url][br][br][br][br]Viel Spass, Erfolg und gutes Gelingen[br][br][style=font-family:lucida handwriting]Loreth Christian[/style][br]Admin[br][br]')"title='Hier sehen sie eine Begrüßung. einfach hier bitte anklicken!'>Begrüßung</div>
<div onclick="xob_insert('[br][1tys-fk[1]][br][br][h2][u]Hallo xxxxxx','[/u][/h2][br]Herzlichen Glückwunsch zum Geburtstag,[br] alles Gute und viel Spaß im Forum![br][br][br][1tys-fj[1]][br][br][style=font-family:lucida handwriting]Daishi[/style][br]Admin[br]')"title='Hier sehen sie eine Geburtstags gruß! einfach hier bitte anklicken!'>Geburtstag</div>
<div onclick="xob_insert('[style=color:#ee8000;font-size:12px;font-weight:bold;]Aktualisiert 01.01.19[/style]','')"title='Hier sehen sie Aktualisiert einfach hier bitte anklicken!'>Aktualisiert</div>
<div class="admin format_h">Zum Geburtstag</div>
<div onclick="xob_insert('[Geburtstag=HAPPY=BIRTHDAY=WERTER USER=https://files.homepagemodules.de/b104774/a_471_0b886575.png=Alles Gute zum Geburtstag]`,``)"><img src="//files.homepagemodules.de/b104774/a_471_0b886575.png" width="25px"> Geburtstag </div>
<div class="admin format_h">Baustelle</div>
<div onclick="xob_insert('[baustelle]\n\n','\n\n[/baustelle]')"><img src="//files.homepagemodules.de/b104774/a_39_5e863e71.jpg" width="30px"> Baustelle!</div>
<div class="format_h">Überblenden</div>
<div onclick="xob_insert('[trans]','[/trans]')">Fader</div>
<div onclick="xob_insert('[blink]','[/blink]')">Blinken</div>
<div class="format_h">Lauf-Text</div>
<div onclick="xob_insert('[move2]','[/move]')">Von rechts</div>
<div class="format_h">Bild-Textfluss</div>
<div onclick="xob_insert('[style=float:left;padding-right:10px;][img]','[/img][/style] TEXT TEXT')">Float Left</div>
<div onclick="xob_insert('[style=float:right;padding-left:8px;padding-right:10px][img]','[/img][/style][right]TEXT TEXT[/right]')">Float Right</div>
<div class="format_h">Code</div>
<div onclick="xob_insert('[code]','[/code]')"><img title="Nicht ausführbaren Code einfügen." class="xob_icon" src="http://img.homepagemodules.de/ds/static/gaia/code.png" width="16" height="16"> Code einfügen</div>
<div class="format_h">Scroll-Balken</div>
<div onclick="xob_insert('[scroll2=250px;100%]','[/scroll2]')">Horizontal <img style="position:absolute;right:7px;margin-top:-12px !important;" src="//files.homepagemodules.de/b104774/a_213_c9cb110f.png" width="40px"></div>
<div class="format_h">Trennlinien</div>
<div onclick="xob_insert('[center][img]//files.homepagemodules.de/b104774/f46t1197p2704n130_fOZxyvds.gif[/img][/center]','')" style="background:none;"><img src="//files.homepagemodules.de/b104774/a_198_06ba1ed1.gif" width="140px"></div>
<div onclick="xob_insert('[center][img]//files.homepagemodules.de/b104774/f46t1197p2704n128_InRdLQac.jpg[/img][/center]','')" style="background:none;"><img src="//files.homepagemodules.de/b104774/a_194_3f67eb43.jpg" width="140px"></div>
<div onclick="xob_insert('[center][img]//files.homepagemodules.de/b104774/f46t1197p2704n131_dgKtWQTI.gif[/img][/center]','')" style="background:none;"><img src="//files.homepagemodules.de/b104774/a_197_40f0635b.gif" width="140px"></div>
<div onclick="xob_insert('[center][img]//files.homepagemodules.de/b104774/f46t1197p2704n127_LFwaMgvs.jpg[/img][/center]','')" style="background:none;"><img src="//files.homepagemodules.de/b104774/a_196_56b8dc9a.jpg" width="140px"></div>
<div onclick="xob_insert('[center][img]//files.homepagemodules.de/b104774/f46t1197p2704n126_ZYGCeDSz.gif[/img][/center]','')" style="background:none;"><img src="//files.homepagemodules.de/b104774/a_192_436691ef.gif" width="140px"></div>
<div onclick="xob_insert('[center][img]//files.homepagemodules.de/b104774/f46t1197p2704n132_SwbkileN.gif[/img][/center]','')" style="background:none;"><img src="//files.homepagemodules.de/b104774/a_191_57f45bd9.gif" width="140px"></div>
</div>
</div>
</div></center>
Also see: Tab Triggers