cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation


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.

              <div class="wrap">
  <div class="lud-20 lud">
    <p class="sub-title">20. しかし、重要なアクションを促すときは、赤色を利用しましょう。</p>
    <p>If you don't use a color like red for confirming a high severity action user may think there's no danger in it.</p>
    <div class="ex-20 example">
        <button class="b-1">取り消し</button>
        <button class="b-2">削除する</button>
  margin: 0;
  outline: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Open Sans', 'Roboto',YuGothic, "Yu Gothic", 游ゴシック体, 游ゴシック, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Roboto, メイリオ, Meiryo, "MS Pゴシック", Osaka, "MS PGothic", Arial, Helvetica, Verdana, sans-serif;

  margin: 2rem auto 0;
  width: 90%;
  max-width: 48rem;

  font-weight: normal;
  margin-bottom: 2rem;

.wrap p{
  font-size: 1.125rem;
  color: #444;
  line-height: 2;
  margin-bottom: 1rem;

.wrap a{
  color: #4687c9;

.wrap p.sub-title{
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 1rem;
  line-height: 1.5;

  margin: 4rem 0 4rem;

.lud p:nth-child(3){
  font-size: 12px;
  font-style: italic;

  margin-top: 2.5rem;

/* サンプル用スタイリング */
  background: #f1f1f1;
  padding: 2rem;
  text-align: center;

.ex-20 button{
  border: none;
  padding: .875rem 2rem;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;

.ex-20 .b-1{
  border: 2px solid #aaa;
  background: transparent;
  color: #444;

.ex-20 .b-1:hover{
  background: #ddd;
  color: #222;

.ex-20 .b-2{
  border: 2px solid hsl(348, 95%, 60%);
  background: hsl(348, 95%, 60%);
  color: #fff;
  margin-left: 1rem;

.ex-20 .b-2:hover{
  border: 2px solid hsl(348, 70%, 48%);
  background: hsl(348, 70%, 48%);
Loading ..................