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-5 lud">
    <p class="sub-title">5. box-shadow を垂直方向に少しだけずらそう。</p>
    <p>This will give cards, boxes, or any other graphical element a more natural look than when no using any offset.</p>
    <div class="ex-5 example">
      <div class="card c-1">
        <p class="revenue">$128,421.01</p>
        <p class="label">総売上げ</p>
        <div class="line"></div>
        <p class="sales"><b>4181</b> 販売数</p>
      <div class="card c-2">
        <p class="revenue">$1,009.84</p>
        <p class="label">昨日</p>
        <div class="line"></div>
        <p class="sales"><b>36</b> 販売数</p>
      <div class="card c-3">
        <p class="revenue">$108.22</p>
        <p class="label">直近1時間</p>
        <div class="line"></div>
        <p class="sales"><b>3</b> 販売数</p>
  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: 1.5rem;
  display: flex;

.ex-5 .card{
  background: #fff;
  padding: 1rem;
  border-radius: 5px;
  width: 100%;
  max-width: 50%;
  box-shadow: 0 2px 3px 0 rgba(0,0,0,.075);

.ex-5 .c-1,
.ex-5 .c-2{
  margin-right: 1.5rem;

.ex-5 p{
  margin-bottom: 0;

.ex-5 p.revenue{
  font-size: 1.5rem;

.ex-5 p.label{
  color: #888;
  font-size: .875rem;

.ex-5 .line{
  width: 100%;
  max-width: 5rem;
  height: 3px;
  margin: 1rem 0 2rem;
  background: #11B8AB;

.ex-5 .sales{
  font-size: -875rem;

Loading ..................