Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <div class="txd-title-wrap">
  
  <p class="text-border">文字の縁取り</p>
  <p class="text-border-normal">text-shadowで文字の縁取り</p>
  
  <p class="text-border-white background01">文字の縁取り(背景あり)</p>
  <p class="text-blur">文字がボワっと光る</p>
  <p class="text-dropshadow">ドロップシャドウ</p>
  <p class="text-outline-shadow">文字の白抜き(text-shadow)</p>
  <p class="text-outline-stroke">文字の白抜き(text-stroke)</p>
  <p class="text-slip">文字の版ズレ</p>
  <p class="text-gradation font-min">文字にグラデーションをかける</p>

  <p class="text-blur gradation03">文字がボワっと光る</p>
  <p class="text-dropshadow w100 gradation01 font-min">背景にグラデーションをかける(ver01)</p>
  <p class="text-blur gradation02 font-min">背景にグラデーションをかける(ver02)</p>
  
  <p class="text-shadow-basic">テキストの右下に5pxのぼかした影をつける</p>
  
  <p class="text-border-bad">text-shadowで太い縁取りをつける</p>

</div>




              
            
!

CSS

              
                body,
html {
  margin:0;
  padding:0;
}

.txd-title-wrap {
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
}

.font-min {
  font-family: 'Noto Serif JP', serif;
}

.text-shadow-basic {
  padding: 0.5em 10px;
  font-size: 200%;
  font-weight: 900;
  color: #ff4400;
  text-shadow: 5px 5px 5px #000;
}

.text-border-normal {
  padding: 0.5em 10px;
  font-size:200%;
  font-weight: 900;
  color: #ff6128;
  text-shadow:
  -1px -1px 0 #000,
  1px -1px 0 #000,
  -1px 1px 0 #000,
  1px 1px 0 #000;
}

.text-border-bad {
  padding: 0.5em 10px;
  font-size:200%;
  color: #ff6128;
  text-shadow:
  -3px -3px 0 #000,
  3px -3px 0 #000,
  -3px 3px 0 #000,
  3px 3px 0 #000;
}


.text-border {
  padding: 0.5em 10px;
  color: #795548;
  font-size: 200%;
  font-weight: 900;
  text-shadow: 
    0.05em 0.05em 0.05em #ffeb3b,
    -0.05em -0.05em 0.05em #ffeb3b,
    -0.05em 0.05em 0.05em #ffeb3b,
    0.05em -0.05em 0.05em #ffeb3b;
}

.text-border-white {
  padding: 0.5em 10px;
  color: #795548;
  font-size: 200%;
  font-weight: 900;
	text-shadow:
	0.05em 0.05em 0.05em #fff,
	-0.05em -0.05em 0.05em #fff,
	-0.05em 0.05em 0.05em #fff,
	0.05em -0.05em 0.05em #fff;
}

.text-blur {
  padding: 0.5em 10px;
  color: #445566;
  font-size:200%;
  font-weight:900;
  text-shadow: 
	0.05em 0.05em 0.05em #fff,
	-0.05em -0.05em 0.05em #fff,
	-0.05em 0.05em 0.05em #fff,
	0.05em -0.05em 0.05em #fff,
  0px 0px 0.3em #ff8367,
  0px 0px 0.3em #ff8367,
  0px 0px 0.3em #ff8367;
}

.text-dropshadow {
  padding: 0.5em 10px;
  color: #ff0010;
  font-size:200%;
  font-weight:900;
  text-shadow: 
	0.05em 0.05em 0.05em #fff,
	-0.05em -0.05em 0.05em #fff,
	-0.05em 0.05em 0.05em #fff,
	0.05em -0.05em 0.05em #fff,
  0.08em 0.08em 0.08em #000;
}

.text-outline-shadow {
  padding: 0.5em 10px;
  color: #fff;
  font-size:200%;
  font-weight:900;
  text-shadow: 
	1px 1px 1px red,
	-1px -1px 1px red,
	-1px 1px 1px red,
	1px -1px 1px red;
}

.text-outline-stroke {
    padding: 0.5em 10px;
    color: #fff;
    font-size:200%;
    font-weight:900;
    -webkit-text-stroke: 1px red;
    text-stroke: 1px red;
}
.text-slip {
padding: 0.5em 10px;
    color: rgb(255 255 255 / 54%);
    font-size: 200%;
    font-weight: 900;
    text-shadow: 2px 2px 0 rgb(255 0 0 / 52%);
    -webkit-text-stroke: 1px red;
    text-stroke: 1px red;
}

.text-gradation {
  padding: 0.5em 10px;
  color: #ff0010;
  font-size:200%;
  font-weight:900;
  background: rgb(212,185,40);
  background: linear-gradient(28deg, rgba(212,185,40,1) 0%, rgba(230,223,59,1) 13%, rgba(159,150,37,1) 34%, rgba(218,211,45,1) 55%, rgba(159,150,37,1) 72%, rgba(222,195,35,1) 84%, rgba(205,169,44,1) 100%);
  background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}

.background01 {
  background: #c0beb6;
}

.gradation01 {
background: rgb(255,255,255);
background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,208,144,1) 5%, rgba(255,208,144,1) 15%, rgba(255,208,144,1) 50%, rgba(255,208,144,1) 85%, rgba(255,208,144,1) 95%, rgba(255,255,255,0) 100%);
}

.gradation02 {
  background: rgb(240,214,110);
  background: radial-gradient(circle, rgba(240,214,110,1) 0%, rgba(255,136,0,1) 100%);
}

.gradation03 {
  background: rgb(37,37,37);
  background: radial-gradient(circle, rgba(37,37,37,1) 0%, rgba(106,106,106,1) 100%);
}
              
            
!

JS

              
                
              
            
!
999px

Console