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.


                <svg viewBox="0 0 1000 500">
  <text clip-path="url(#line-1)" class="text text-stroke">Chloe</text>
  <text clip-path="url(#line-2)" class="text text-stroke">Hwang</text>
  <text clip-path="url(#line-3)" class="text text-stroke">—</text>
  <text clip-path="url(#line-4)" class="text text-stroke small-text">Frontend Web Developer</text>

    <clipPath id="line-1">
      <text class="text">Chloe</text>
    <clipPath id="line-2">
      <text class="text">Hwang</text>
    <clipPath id="line-3">
      <text class="text">—</text>
    <clipPath id="line-4">
      <text class="text small-text">Frontend Web Developer</text>

<p class="tip">Refresh the page to rerun the animation.</p>


                @keyframes textOutline {
  0% {
    stroke: blueviolet;
    stroke-dashoffset: 660;
  12% {
    stroke: blueviolet;
  55% {
    stroke: aqua;
  100% {
    stroke: white;
    stroke-dashoffset: 0;

svg {
  fill: transparent;
  max-width: 1000px;

.text {
  font-family: Playfair Display, Times, serif;
  font-size: 8.4rem;
  font-weight: 900;

.text-stroke {
  animation: textOutline 2.25s 1s forwards cubic-bezier(0.445, 0.05, 0.55, 0.95);
  fill: inherit;
  stroke-dasharray: 660;
  stroke-dashoffset: 660;
  stroke-width: 5px;
  transform: translateY(110px);
  transition: 0.7s;

  &:nth-child(2) {
    animation-delay: 1.7s;
    transform: translateY(235px);

  &:nth-child(3) {
    animation-delay: 2.4s;
    transform: translateY(321px);

  &:nth-child(4) {
    animation-delay: 3.2s;
    animation-duration: 1.8s;
    transform: translateY(360px);

.small-text {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;

body {
  background: #333;
  padding: 50px;

.fill {
  fill: white;

.tip {
  background: linear-gradient(to right, violet, turquoise);
  color: #333;
  font-family: Helvetica, Arial, sans-serif;
  font-style: italic;
  font-weight: 700;
  opacity: 0;
  padding: 8px 10px;
  position: absolute;
  right: 3rem;
  top: 3rem;
  transform: scale(0.95);
  transition: 0.4s 1.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  .fill + & {
    opacity: 1;
    transform: scale(1);


                let svg = document.querySelector('svg');

setTimeout(function() {
}, 4500)