Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

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.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

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.

+ add another resource


Add Packages

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.


Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <div id="wrapper">
	<h1><span class="letter01">M</span><span class="letter02">a</span><span class="letter03">t</span><span class="letter04">h</span><span class="letter05">i</span><span class="letter06">e</span><span class="letter07">u</span><span class="letter08">&nbsp;</span><span class="letter09">C</span><span class="letter10">h</span><span class="letter11">a</span><span class="letter12">r</span><span class="letter13">t</span><span class="letter14">i</span><span class="letter15">e</span><span class="letter16">r</span></h1>


                /* Styles généraux */
* {margin:0; padding:0; font-size:1em; box-sizing:border-box;}
body {transition:background-color 4s ease; background:linear-gradient(70deg,#FC9DAB,#C586D9,#A5A1F0,#86BAD9,#9DFADB); background-size:auto; background-size:500% 250%; animation:degradeFond 30s ease infinite;}
@keyframes degradeFond {
	0% {background-position:0 50%;}
	50% {background-position:50% 50%;}
	100% {background-position:0 50%;}

/* Réglages du bloc de texte général */
#wrapper {margin-top:40vh; text-align:center; font-family:'Dancing Script', cursive;}
#wrapper h1 {white-space:normal; display:inline-block; font-size:6em; font-weight:300; background:linear-gradient(75deg, #E5E0F9,#C5C7DB,#EAEDF3,#C5D2DB,#E0F6F9); color:transparent; background-clip:text; -webkit-background-clip:text; position:relative;}

/* Animations des lettres */
h1 span {opacity:0;}
.letter01 {animation:letters 3s ease 0000ms forwards;}
.letter02 {animation:letters 3s ease 0500ms forwards;}
.letter03 {animation:letters 3s ease 1000ms forwards;}
.letter04 {animation:letters 3s ease 1500ms forwards;}
.letter05 {animation:letters 3s ease 2000ms forwards;}
.letter06 {animation:letters 3s ease 2500ms forwards;}
.letter07 {animation:letters 3s ease 3000ms forwards;}
.letter08 {}
.letter09 {animation:letters 3s ease 4500ms forwards;}
.letter10 {animation:letters 3s ease 5000ms forwards;}
.letter11 {animation:letters 3s ease 5500ms forwards;}
.letter12 {animation:letters 3s ease 6000ms forwards;}
.letter13 {animation:letters 3s ease 6500ms forwards;}
.letter14 {animation:letters 3s ease 7000ms forwards;}
.letter15 {animation:letters 3s ease 7500ms forwards;}
.letter16 {animation:letters 3s ease 8000ms forwards;}
@keyframes letters {
	0% {opacity:0;}
	100% {opacity:1.0;}

h1::after {content:""; display:block; background:linear-gradient(45deg, #F9CFF3,#D4B6DB,#E5D6F2,#C0B6DB,#CFCFF9); height:3px; width:0%; opacity:0; margin-top:.2em; animation:lineWidth 10s ease-in-out forwards;}
@keyframes lineWidth {
	0% {width:0%; opacity:0;}
	100% {width:100%; opacity:1.0;}

h1 {animation:textAnimated 60s ease infinite;}
@keyframes textAnimated {
	0% {background:linear-gradient(70deg,#FDD9CD,#E3BCB8,#FAD6DB,#E3B8D3,#F9CDFD); background-position:-12em 0; background-clip:text; -webkit-background-clip:text; color:transparent;}
	50% {background:linear-gradient(85deg,#FDD9CD,#E3BCB8,#FAD6DB,#E3B8D3,#F9CDFD); background-position:0 0; background-clip:text; -webkit-background-clip:text; color:transparent;}
	100% {background:linear-gradient(70deg,#FDD9CD,#E3BCB8,#FAD6DB,#E3B8D3,#F9CDFD); background-position:-12em; background-clip:text; -webkit-background-clip:text; color:transparent;}

h1::before {content:"Mathieu Chartier"; display:block; position:absolute; width:100%; animation:scintillement 10s ease-in 10s infinite;}
@keyframes scintillement {
	0% {background:linear-gradient(45deg, rgba(255,255,255,0.3), rgba(200,200,200,0.3)) no-repeat; background-clip:text; background-position:-12em 0;}
	25% {background:linear-gradient(75deg, rgba(255,255,255,0.5), rgba(200,200,200,0.5)) no-repeat; background-clip:text; background-position:12em 0;}
	30% {background:linear-gradient(45deg, rgba(255,255,255,0), rgba(200,200,200,0)) no-repeat; background-clip:text; background-position:0 0;}