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.

            
              <p class="cph cph1">見出し1</p>

<p class="cph cph2">見出し2</p>

<p class="cph cph3">見出し3</p>

<p class="cph cph4">見出し4</p>

<p class="cph cph5">見出し5</p>

<p class="cph cph6">見出し6</p>

<p class="cph cph7">見出し7</p>

<p class="cph cph8">見出し8</p>

<p class="cph cph9">見出し9</p>

<p class="cph cph10">見出し10</p>

<p class="cph cph11">見出し11</p>

<p class="cph cph12">見出し12</p>

<p class="cph cph13">見出し13</p>

<p class="cph cph14">見出し14</p>

<p class="cph cph15">見出し15</p>

<p class="cph cph16">見出し16</p>

<p class="cph cph17">見出し17</p>

<p class="cph cph18">見出し18</p>

<p class="cph cph19">見出し19</p>

<p class="cph cph20">見出し20</p>

<p class="cph cph21">見出し21</p>

<p class="cph cph22">見出し22</p>

<p class="cph cph23">見出し23</p>

<p class="cph cph24">見出し24</p>

<p class="cph cph25">見出し25</p>

<p class="cph cph26">見出し26</p>

<p class="cph cph27">見出し27</p>

<p class="cph cph28">見出し28</p>

<p class="cph cph29">見出し29</p>

<p class="cph cph30">見出し30</p>

<p class="cph cph31">見出し31</p>

<p class="cph cph32">見出し32</p>

<p class="cph cph33">見出し33</p>

<p class="cph cph34">見出し34</p>

<p class="cph cph35">見出し35</p>

<p class="cph cph36">見出し36</p>
            
          
!
            
              
.cph {
  margin: 2em 0 1em;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-weight: bold
}

p.cph {
  font-size: 1.1em
}

.cph:before, .cph:after {
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  content: none
}

.cph1 {
  padding: .5em 0;
  border-bottom: solid 3px black
}

.cph2 {
  border-bottom-width: 2px;
  border-bottom-style: dashed
}

.cph3 {
  border-bottom-width: 5px;
  border-bottom-style: double
}

.cph4 {
  padding: .5em 0;
  border-width: 3px;
  border-top-style: solid;
  border-bottom-style: solid
}

.cph5 {
  padding: .5em;
  background: #7fbae9;
}

.cph6 {
  padding: .5em;
  border-width: 3px;
  border-style: solid;
  border-radius: .5em
}

.cph7 {
  padding: .5em;
  border-bottom-width: 3px;
  border-bottom-style: solid;
  color: #010101;
  background: #7fbae9;
}

.cph8 {
  padding: .5em;
  border-left: solid 5px #ffaf58;
  background: #fffaf4;
  color: #494949
}

.cph9 {
  padding: .5em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .23)
}

.cph10 {
  display: inline-block;
  padding: .5em;
  border-radius: 25px 0 0 25px;
  color: #505050;
  vertical-align: middle;
  line-height: 1.3;
  background: #7fbae9;
}

.cph10:before {
  display: inline-block;
  margin-right: 8px;
  color: white;
  content: "●"
}

.cph11 {
  position: relative;
  padding: .6em;
  background: #c8e4ff
}

.cph11:after {
  position: absolute;
  top: 100%;
  left: 30px;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-top: 15px solid #c8e4ff;
  content: ""
}

.cph12 {
  margin-right: 5px;
  margin-left: 5px;
  padding: .2em .5em;
  border: dashed 1px #96c2fe;
  background: #c8e4ff;
  box-shadow: 0 0 0 5px #c8e4ff;
  color: #454545
}

.cph13 {
  margin-right: 5px;
  margin-left: 5px;
  padding: .2em .5em;
  border: dashed 1px #fff;
  background: #c8e4ff;
  box-shadow: 0 0 0 5px #c8e4ff;
  color: #454545
}

.cph14 {
  position: relative;
  margin-right: 5px;
  margin-left: 5px;
  padding: .2em .5em;
  border: dashed 2px white;
  background: #c8e4ff;
  box-shadow: 0 0 0 5px #c8e4ff;
  color: #454545
}

.cph14:after {
  position: absolute;
  top: -7px;
  left: -7px;
  border-width: 0 0 15px 15px;
  border-style: solid;
  border-color: #fff #fff #a8d4ff;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, .15);
  content: ""
}

.cph15 {
  position: relative;
  padding: .5em;
  background: #7fbae9;
  color: white
}

.cph15:before {
  position: absolute;
  top: 100%;
  left: 0;
  border: 0;
  border-right: solid 20px #74a4cb;
  border-bottom: solid 15px transparent;
  content: ""
}

.cph16 {
  position: relative;
  padding: .5em;
  background: #a6d3c8;
  color: white
}

.cph16:before {
  position: absolute;
  top: 100%;
  left: 0;
  border: 0;
  border-right: solid 20px #959e9b;
  border-bottom: solid 15px transparent;
  content: ""
}

.cph17 {
  position: relative;
  border-bottom: solid 3px #cbcbcb
}

.cph17:after {
  display: block;
  position: absolute;
  bottom: -3px;
  width: 30%;
  border-bottom: solid 3px #6bb6ff;
  content: " "
}

.cph18 {
  position: relative;
  border-bottom: solid 3px #c8e4ff
}

.cph18:after {
  display: block;
  position: absolute;
  bottom: -3px;
  width: 30%;
  border-bottom: solid 3px #6bb6ff;
  content: " "
}

.cph19 {
  position: relative;
  padding-left: 25px
}

.cph19:before {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 0;
  border: 0;
  border-bottom: solid 15px #77c3df;
  border-left: solid 15px transparent;
  content: ""
}

.cph19:after {
  position: absolute;
  bottom: -3px;
  left: 10px;
  width: 100%;
  border-bottom: solid 3px #77c3df;
  content: ""
}

.cph20 {
  padding: .5em;
  background: repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px, #e9f4ff 3px, #e9f4ff 7px);
  text-shadow: 0 0 5px white
}

.cph21 {
  padding: .5em;
  border-left: solid 7px #6bb6ff;
  background: repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px, #e9f4ff 3px, #e9f4ff 7px);
  text-shadow: 0 0 5px white
}

.cph22 {
  padding: .5em;
  border-top: solid 2px #6cb4e4;
  border-bottom: solid 2px #6cb4e4;
  background: repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px, #e9f4ff 3px, #e9f4ff 7px);
  color: #6cb4e4;
  text-align: center
}

.cph23 {
  position: relative;
  padding: .3em 0
}

.cph23:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 7px;
  background: repeating-linear-gradient(-45deg, #6ad1c8, #6ad1c8 2px, #fff 2px, #fff 4px);
  content: ""
}

.cph24 {
  display: inline-block;
  position: relative;
  padding: 0 55px
}

.cph24:before, .cph24:after {
  display: inline-block;
  position: absolute;
  top: 50%;
  width: 45px;
  height: 1px;
  background-color: black;
  content: ""
}

.cph24:before {
  left: 0
}

.cph24:after {
  right: 0
}

.cph25 {
  position: relative;
  padding: .4em 1em;
  border-top: solid 2px black;
  border-bottom: solid 2px black;
  text-align: center
}

.cph25:before, .cph25:after {
  position: absolute;
  top: -7px;
  width: 2px;
  height: -webkit-calc(100% + 14px);
  height: calc(100% + 14px);
  background-color: black;
  content: ""
}

.cph25:before {
  left: 7px
}

.cph25:after {
  right: 7px
}

.cph26 {
  display: inline-block;
  position: relative;
  top: 0;
  padding: .25em 1em;
  line-height: 1.4
}

.cph26:before, .cph26:after {
  display: inline-block;
  position: absolute;
  top: 0;
  width: 8px;
  height: 100%;
  content: ""
}

.cph26:before {
  left: 0;
  border-top: solid 1px black;
  border-bottom: solid 1px black;
  border-left: solid 1px black
}

.cph26:after {
  right: 0;
  border-top: solid 1px black;
  border-right: solid 1px black;
  border-bottom: solid 1px black;
  content: ""
}

.cph27:first-letter {
  font-size: 2em
}

.cph28 {
  position: relative;
  padding: .25em 0
}

.cph28:after {
  display: block;
  height: 4px;
  background: linear-gradient(to right, #6bb6ff, rgba(255, 255, 255, 0));
  content: ""
}

.cph29 {
  position: relative;
  padding: .35em .5em;
  background: linear-gradient(to right, #ffba73, rgba(255, 255, 255, 0));
  color: #545454
}

.cph30 {
  position: relative;
  padding-left: 1.2em;
  line-height: 1.4
}

.cph30:before {
  position: absolute;
  top: 0;
  left: 0;
  color: #5ab9ff;
  font-family: FontAwesome;
  font-size: 1em;
  content: "\f00c"
}

.cph31 {
  position: relative;
  padding: .5em .5em .5em 1.5em;
  border-top: dotted 1px gray;
  border-bottom: dotted 1px gray;
  background: #fffff4;
  color: #ff6a6a;
  line-height: 1.4
}

.cph31:before {
  position: absolute;
  top: .5em;
  left: .25em;
  color: #ff6a6a;
  font-family: FontAwesome;
  font-size: 1em;
  content: "\f138"
}

.cph32 {
  position: relative;
  padding: .5em .5em .5em 1.8em;
  background: #81d0cb;
  color: white;
  line-height: 1.4
}

.cph32:before {
  position: absolute;
  left: .5em;
  font-family: FontAwesome;
  content: "\f14a"
}

.cph33 {
  padding: .5em;
  border-radius: .5em;
  background: #b0dcfa;
  color: white
}

.cph34 {
  position: relative;
  padding-left: 1.2em;
  color: #7b6459
}

.cph34:before {
  position: absolute;
  top: 0;
  left: 0;
  color: #ff938b;
  font-family: FontAwesome;
  font-size: 1em;
  content: "\f1b0"
}

.cph35 {
  display: inline-block;
  box-sizing: border-box;
  position: relative;
  height: 50px;
  padding: 0 30px;
  background: #f57a78;
  color: #fff;
  font-size: 18px;
  text-align: center;
  vertical-align: middle;
  line-height: 50px
}

.cph35:before, .cph35:after {
  position: absolute;
  z-index: 1;
  width: 0;
  height: 0;
  content: ""
}

.cph35:before {
  top: 0;
  left: 0;
  border-width: 25px 0 25px 15px;
  border-style: solid;
  border-color: transparent transparent transparent #fff
}

.cph35:after {
  top: 0;
  right: 0;
  border-width: 25px 15px 25px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent
}

.cph36 {
  display: inline-block;
  box-sizing: border-box;
  position: relative;
  height: 60px;
  padding: 0 30px 0 10px;
  background: #ffc668;
  color: #fff;
  font-size: 18px;
  text-align: center;
  vertical-align: middle;
  line-height: 60px
}

.cph36:after {
  position: absolute;
  z-index: 1;
  width: 0;
  height: 0;
  content: ""
}

.cph36:after {
  top: 0;
  right: 0;
  border-width: 30px 15px 30px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent
}

            
          
!
999px
Loading ..................

Console