Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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.


Save Automatically?

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.


  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <link href="" rel="stylesheet">

  <div class="wrapper">

    <svg id="mask" version="1.1" xmlns="" xmlns:xlink="" x="0px" y="0px" width="739" height="258.9" viewBox="0 0 739 258.9" style="enable-background:new 0 0 739 258.9;" xml:space="preserve">

      <image xmlns:xlink="" xlink:href="" width="739" height="258.9" mask="url(#clipmask)"></image>

      <mask id="clipmask" maskUnits="objectBoundingBox">

        <path class="st0" d="M124.9,73.4c0,0,57.3-46.5,22.9-66.6c-35.2-20.7-87,8.9-90.1,55.4c-3.1,46.6,48.4,84.2,34.7,130.7
	s2.8,66.1,26,55.4s73.6-79.8,73.6-79.8" />
        <line class="st0" x1="490.5" y1="50.6" x2="459.9" y2="103.6" />


  <script src=""></script>



                @charset "utf-8";

/*=============== レイアウトのためのCSS =================*/

body {
  background-image: radial-gradient(
    circle farthest-corner at 10% 20%,
    rgba(255, 209, 67, 0.5) 0%,
    rgba(255, 145, 83, 1) 90%

.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;

svg {
  max-width: 800px; /*SVGタグの横幅*/
  width: 100%; /* レスポンシブ対応にするため100%を指定*/
  height: auto;

/*========= 手書き風にするためのCSS ===============*/

/* マスクをするパスの設定*/
#mask .st0 {
  fill: none;
  stroke: #ffffff;
  stroke-width: 90; /*線の太さを指定する*/
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
  stroke-dasharray: 1500; /* 線の間隔を指定する */
  stroke-dashoffset: 1500; /* 線の位置を指定する */



                new Vivus("mask", {
  type: "scenario-sync", // アニメーションのタイプを設定
  duration: 130, //アニメーションの時間。数字が小さくなれば速くなり、大きくなれば遅くなる
  forceRender: false, //パスが更新された場合に再レンダリングさせない
  animTimingFunction: Vivus.EASE_OUT //動きの加速減速設定