コピペでできる!CSSとhtmlのみで作る沿革などに使えるタイムライン 4選

CSS HTML
 
 

CSSとhtmlのみで作る沿革などに使えるタイムラインです。

会社のホームページやポートフォリオなどを作っていると必要になってくるのが沿革だと思いますが、
長くなればなるほどどうやったら見やすくなるか?で悩みますね。
タイムラインの表現なら、比較的ポイントがわかりやすくデザインによって書くべき内容も吟味できるでしょう。
レスポンシブでも見やすいように心がけたタイムラインをいくつかピックアップしました。

browser:  ✔︎ ✔︎ ✔︎ 

沿革などに使えるタイムライン [4種]

真ん中にポイントをおいてタイトルのみ吹き出しにする

ニャン易度
  • あんなこと 2016 -
    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  • こんなこと 2015 - 2016
    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  • そんなこと 2014 - 2015
    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<ul class="cp_timeline01">
  <li><div class="timeline_item">
  <div class="flag_cont">
  <span class="flag">タイトル</span>
  <span class="time">2016 - </span>
  </div>
  <div class="desc">内容</div>
  </div></li>
  <li><div class="timeline_item">
  <div class="flag_cont">
  <span class="flag">タイトル</span>
  <span class="time">2015 - 2016</span>
  </div>
  <div class="desc">内容</div>
  </div></li>
  <li><div class="timeline_item">
  <div class="flag_cont">
  <span class="flag">タイトル</span>
  <span class="time">2014 - 2015</span>
  </div>
  <div class="desc">内容</div>
  </div></li>
</ul>
.cp_block {
  margin: 3em auto;
}
.cp_timeline01 {
  position: relative;
  width: 100%;
  margin: 3em auto;
  padding: 1em 0;
  list-style-type: none;
}
.cp_timeline01:before {
  position: absolute;
  left: 50%;
  top: 0;
  content: '';
  display: block;
  width: 6px;
  height: 100%;
  margin-left: -3px;
  background: rgba(128,222,234 ,1);
  z-index: 5;
}
.cp_timeline01 li {
  padding: 1em 0;
}
.cp_timeline01 li:after {
  content: '';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.cp_timeline01 li:nth-child(odd) .timeline_item {
  position: relative;
  width: calc(50% - 29px);
  float: left;
  text-align: right;
}
.cp_timeline01 li:nth-child(even) .timeline_item {
  position: relative;
  width: calc(50% - 29px);
  float: right;
}
.cp_timeline01 li .timeline_item .flag_cont {
  position: relative;
  display: inline-block;
  text-align: center;
}
.cp_timeline01 li .timeline_item .flag {
  position: relative;
  display: inline;
  background: rgba(26,35,126 ,1);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 5px;
  font-weight: bold;
  text-align: left;
}
.cp_timeline01 li:nth-child(odd) .timeline_item .flag {
  box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}
.cp_timeline01 li:nth-child(even) .timeline_item .flag {
  box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}
.cp_timeline01 li:nth-child(odd) .timeline_item .flag_cont:before,
.cp_timeline01 li:nth-child(even) .timeline_item .flag_cont:before {
  position: absolute;
  top: 4px;
  right: -44px;
  content: ' ';
  display: block;
  width: 12px;
  height: 12px;
  margin-top: -10px;
  padding: 4px;
  background: rgba(0,188,212 ,1);
  border-radius: 50%;
  border: 6px solid rgba(26,35,126 ,1);
  z-index: 10;
}
.cp_timeline01 li:nth-child(even) .timeline_item .flag_cont:before {
  left: -44px;
}
.cp_timeline01 li:nth-child(odd) .timeline_item .flag_cont:after,
.cp_timeline01 li:nth-child(even) .timeline_item .flag_cont:after {
  position: absolute;
  top: 10px;
  right: -38px;
  content: ' ';
  display: block;
  width: 16px;
  height: 16px;
  margin-top: -10px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255 ,1);
  z-index: 10;
}
.cp_timeline01 li:nth-child(even) .timeline_item .flag_cont:after {
  left: -38px;
}
.cp_timeline01 li:nth-child(odd) .timeline_item .flag:after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -6px;
  border: solid transparent;
  border-left-color: rgba(26,35,126 ,1);
  border-width: 6px;
}
.cp_timeline01 li:nth-child(even) .timeline_item .flag:after {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -6px;
  border: solid transparent;
  border-right-color: rgba(26,35,126 ,1);
  border-width: 6px;
}
.cp_timeline01 li .timeline_item .time {
  display: block;
  margin-top: 1em;
  padding: 4px 6px;
  font-size: 0.6em;
  line-height: 1em;
  color: rgba(255,87,34 ,1);
  text-align: right;
}
.cp_timeline01 li:nth-child(even) .timeline_item .time {
  text-align: left;
}
.cp_timeline01 li .timeline_item .desc {
  margin: 1em 0.75em 0 0;
  font-size: 0.7em;
  line-height: 1.5em;
  margin: 1em 1em 0 1em;
  padding: 1em;
  background: rgba(178,235,242 ,0.7);
  border-radius: 6px;
}
@media only screen and (max-width:768px) {
  .cp_timeline01 {
    width: 100%;
    padding: 4em 0 1em 0;
  }
  .cp_timeline01 li {
    padding: 2em 0;
  }
  .cp_timeline01 li:nth-child(odd) .timeline_item,
  .cp_timeline01 li:nth-child(even) .timeline_item {
    float: none;
    width: 100%;
    text-align: center;
  }
  .cp_timeline01 li .timeline_item .flag_cont {
    text-align: center;
  }
  .cp_timeline01 li .timeline_item .flag {
    z-index: 15;
  }
  .cp_timeline01 li:nth-child(odd) .timeline_item .flag_cont:before,
  .cp_timeline01 li:nth-child(even) .timeline_item .flag_cont:before {
    top: -34px;
    left: calc(50% - 16px);
  }
  .cp_timeline01 li:nth-child(odd) .timeline_item .flag_cont:after,
  .cp_timeline01 li:nth-child(even) .timeline_item .flag_cont:after {
    top: -28px;
    left: calc(50% - 10px);
  }
  .cp_timeline01 li:nth-child(odd) .timeline_item .flag:after,
  .cp_timeline01 li:nth-child(even) .timeline_item .flag:after {
    content: '';
    position: absolute;
    left: 50%;
    top: -6px;
    height: 0;
    width: 0;
    margin-left: -6px;
    border: solid transparent;
    border-bottom-color: rgba(26,35,126 ,1);
    border-width: 6px;
    pointer-events: none;
  }
  .cp_timeline01 li .flag_cont {
    display: block;
    position: relative;
    margin: 4px 0 0 0;
    z-index: 14;
  }
  .cp_timeline01 li:nth-child(odd) .timeline_item .time,
  .cp_timeline01 li:nth-child(even) .timeline_item .time {
    float: none;
    text-align: center;
    background: #ffffff;
  }
  .cp_timeline01 li .timeline_item .desc {
    position: relative;
    z-index: 15;
  }
}

アイテムごとに吹き出しで表示

ニャン易度

2017

  • あんなこと

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

    2017/12/12

  • こんなこと

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

    2017/06/06

  • そんなこと

    I was just sick of Josh

    2017/03/03

  • そういやこんなこと

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    2017/01/01

2016

  • 思い出したこんなこと

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    2016/12/12

  • もはや走馬灯

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

    2016/10/10

<div class="cp_timeline02">
  <h2>2017</h2>
  <ul>
    <li>
      <p class="flag">タイトル</p>
      <p class="desc">内容</p>
      <p class="time">2017/12/12</p>
    </li>
    <li>
      <p class="flag">タイトル</p>
      <p class="desc">内容</p>
      <p class="time">2017/06/06</p>
    </li>
    <li>
      <p class="flag">タイトル</p>
      <p class="desc">内容</p>
      <p class="time">2017/03/03</p>
    </li>
    <li>
      <p class="flag">タイトル</p>
      <p class="desc">内容</p>
      <p class="time">2017/01/01</p>
    </li>
  </ul>
  <h2>2016</h2>
  <ul>
    <li>
      <p class="flag">タイトル</p>
      <p class="desc">内容</p>
      <p class="time">2016/12/12</p>
    </li>
    <li>
      <p class="flag">タイトル</p>
      <p class="desc">内容</p>
      <p class="time">2016/10/10</p>
    </li>
  </ul>
</div>
.cp_timeline02 {
  position: relative;
  margin: 3em auto;
  overflow: auto;
}
.cp_timeline02:before {
  position: absolute;
  left: 50%;
  width: 5px;
  height: 100%;
  content: '';
  background: #EF6C00;
}
.cp_timeline02 h2 {
  position: relative;
  clear: both;
  max-width: 6em;
  margin: 0 auto 1em;
  padding: .1em;
  text-align: center;
  background: #FFC107;
  border-radius: 8px;
  font-size: 1.2em;
}
.cp_timeline02 ul {
  max-width: calc(100% - 4em);
  margin: 0;
  padding: 0 0 0 2em;
  list-style: none;
}
.cp_timeline02 li {
  position: relative;
  margin-bottom: 1em;
  padding: 1em;
  background: #FFF8E1;
  width: 42%;
  border-radius: 8px;
  border: solid 1px rgba(255,202,40 ,1);
}
.cp_timeline02 li:before {
  position: absolute;
  top: 12px;
  left: -14px;
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 15px 10px 0;
  border-color: transparent #FFF8E1 transparent transparent;
  z-index: 1;
}
.cp_timeline02 li:after {
  position: absolute;
  top: 12px;
  left: -16px;
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 15px 10px 0;
  border-color: transparent #FFCA28 transparent transparent;
  z-index: 0;
}
.cp_timeline02 li:nth-child(even) {
  float: right;
  margin-top: 2em;
}
.cp_timeline02 li:nth-child(odd) {
  float: left;
}
.cp_timeline02 li:nth-child(odd):before {
  right: -14px;
  left: auto;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #FFF8E1;
}
.cp_timeline02 li:nth-child(odd):after {
  position: absolute;
  right: -16px;
  left: auto;
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #FFCA28;
  z-index: 0;
}
.cp_timeline02 li:nth-of-type(2n+1) {
  clear: both;
}
.cp_timeline02 li .flag {
  padding: 0;
  margin: 0;
  font-weight: bold;
}
.cp_timeline02 li .desc {
  font-size: 0.7em;
  line-height: 1.5em;
}
.cp_timeline02 li .time {
  font-size: 0.6em;
  color: #00838F;
  font-weight: bold;
}
@media only screen and (max-width: 767px) {
  .cp_timeline02:before {
    left: 0;
  }
  .cp_timeline02 ul {
    z-index: 1;
    padding: 0 0 0 1.5em;
  }
  .cp_timeline02 li {
    width: 100%;
  }
  .cp_timeline02 li:nth-child(even),
  .cp_timeline02 li:nth-child(odd) {
    float: none;
  }
  .cp_timeline02 li:nth-child(odd):before {
    right: auto;
    left: -14px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #FFF8E1 transparent transparent;
  }
  .cp_timeline02 li:nth-child(odd)::after {
    right: auto;
    left: -16px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #FFCA28 transparent transparent;
  }
}

ラインでアイテムを結ぶ

ニャン易度
2018
22 Feb

あんなこと

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
10 Sept

そんなこと

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
2017
1 Jul

こんなこと

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
2016
14 Aug

そういやこんなこと

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<div class="cp_timeline03">
  <div class="timeline_group">
    <span class="time_year">2018</span>
    <div class="timeline_item">
      <div class="time">
        <span class="time_day">22</span>
        <span class="time_month">Feb</span>
      </div>
      <div class="desc">
        <p class="flag">タイトル</p>
        内容
      </div>
    </div>
    <div class="timeline_item">
      <div class="time">
        <span class="time_day">10</span>
        <span class="time_month">Sept</span>
      </div>
      <div class="desc">
        <p class="flag">タイトル</p>
        内容
      </div>
    </div>
  </div>
  <div class="timeline_group">
    <span class="time_year">2017</span>
    <div class="timeline_item">
      <div class="time">
        <span class="time_day">1</span>
        <span class="time_month">Jul</span>
      </div>
      <div class="desc">
        <p class="flag">タイトル</p>
        内容
      </div>
    </div>
  </div>
  <div class="timeline_group">
    <span class="time_year">2016</span>
    <div class="timeline_item">
      <div class="time">
        <span class="time_day">14</span>
        <span class="time_month">Aug</span>
      </div>
      <div class="desc">
        <p class="flag">タイトル</p>
        内容
      </div>
    </div>
  </div>
</div>
.cp_timeline03 {
  position: relative;
  margin: 3em auto;
}
.cp_timeline03:before {
  position: absolute;
  content: '';
  top: 0;
  left: 30px;
  width: 4px;
  height: 100%;
  background-color: #006064;
}
.cp_timeline03 .timeline_group {
  position: relative;
  padding-top: 55px;
}
.cp_timeline03 .timeline_group:not(:first-of-type) {
  margin-top: 4rem;
}
.cp_timeline03 .time_year {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.5rem 1.5rem;
  color: #fff;
  background-color: #00838F;
  width: 100%;
  box-sizing: border-box;
}
.cp_timeline03 .timeline_item {
  margin-bottom: 1em;
  position: relative;
  padding-left: 80px;
  display: flex;
  align-items: center;
}
.cp_timeline03 .timeline_item:not(:last-of-type) {
  margin-bottom: 2em;
}
.cp_timeline03 .timeline_item:before {
  position: absolute;
  content: '';
  left: 0;
  width: 100%;
  height: 3px;
  z-index: -1;
  background-color: #006064;
}
.cp_timeline03 .time {
  position: absolute;
  top: 50%;
  left: 0;
  min-width: 45px;
  min-height: 45px;
  padding: 0.5em 0.5em;
  margin-top: -33px;
  text-align: center;
  color: #fff;
  background-color: #26C6DA;
  border-radius: 50%;
}
.cp_timeline03 .time_day {
  font-size: 1em;
  font-weight: 700;
  display: block;
}
.cp_timeline03 .time_month {
  font-size: 0.8em;
  display: block;
  text-transform: uppercase;
}
.cp_timeline03 .desc {
  padding: 0.5em 1em;
  width: 100%;
  border-left: 3px solid #26C6DA;
  border-radius: 2px;
  background-color: #fff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  font-size: 0.9em;
}
.cp_timeline03 .desc .flag {
  font-size: 1.2em;
  font-weight: bold;
  margin: 0;
  padding: 0;
  padding-bottom: 0.3em;
}
@media only screen and (max-width: 767px) {
  .cp_timeline03:before {
    left: 0;
  }
  .cp_timeline03 .timeline_group {
    padding-top: 40px;
  }
  .cp_timeline03 .timeline_item {
    padding-top: 60px;
    padding-left: 20px;
  }
  .cp_timeline03 .timeline_item:before {
    top: 90px;
  }
  .cp_timeline03 .time {
    top: 40px;
    border-radius: 0 20px 20px 0;
    min-height: 1em;
  }
  .cp_timeline03 .time_day,
  .cp_timeline03 .time_month {
    display: inline-block;
  }
  .cp_timeline03 .desc {
    font-size: 0.8em;
  }
}

年号を大きく見せてブロッキングする

ニャン易度

2018

あんなこと

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

2017

こんなこと

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

2016

そんなこと

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

<div class="cp_timeline04">
  <div class="timeline_item">
    <div class="time_date">
      <p class="time">2018</p>
      <p class="flag">タイトル</p>
    </div>
    <div class="desc">
      <p>内容</p>
    </div>
  </div>

  <div class="timeline_item">
    <div class="time_date">
      <p class="time">2017</p>
      <p class="flag">タイトル</p>
    </div>
    <div class="desc">
      <p>内容</p>
    </div>
  </div>

  <div class="timeline_item">
    <div class="time_date">
      <p class="time">2016</p>
      <p class="flag">タイトル</p>
    </div>
    <div class="desc">
      <p>内容</p>
    </div>
  </div>
</div>
.cp_timeline04 {
  position: relative;
  margin: 3em auto;
  padding-bottom: 2em;
}
.cp_timeline04:before {
  position: absolute;
  top: 0px;
  top: -30px;
  left: 45px;
  width: 3px;
  height: 100%;
  content: '';
  background: #e91e63;
}
.cp_timeline04 .timeline_item {
  margin: 0px 0px 0px 80px;
}
.cp_timeline04 .timeline_item .time_date .time {
  font-family: serif;
  font-size: 6em;
  font-weight: bold;
  position: relative;
  margin: 0;
  letter-spacing: 3px;
  color: rgba(233,30,99,0.1);
}
.cp_timeline04 .timeline_item .time_date .time:before {
  position: absolute;
  top: 50%;
  left: -42px;
  width: 10px;
  height: 10px;
  content: '';
  transform: rotate(45deg);
  border: 3px solid #e91e63;
  background: #fff;
}
.cp_timeline04 .timeline_item .time_date .flag {
  font-size: 1.5em;
  font-weight: bold;
  margin: -60px 0 0 0;
  color: #880e4f;
}
.cp_timeline04 .timeline_item .desc {
  font-size: 0.8em;
  line-height: 20px;
  margin-top: 10px;
  padding-left: 20px;
  border-left: 1px solid #880e4f;
  margin-bottom: 60px;
}
@media only screen and (max-width: 767px) {
  .cp_timeline04:before {
    left: 15px;
  }
  .cp_timeline04 .timeline_item .time_date .time:before {
    left: -32px;
  }
  .cp_timeline04 .timeline_item {
    margin: 0px 0px 0px 40px;
  }
  .cp_timeline04 .timeline_item .desc {
    padding-left: 0px;
    border-top: 1px solid #880e4f;
    border-left: none;
  }
}

copypet.jp

CSS3などで新たに追加された要素・装飾方法など、日々コードを書いていないと忘れてしまったり、ささっとプロトタイプを作る時などちょっとしたことに時間をかけている暇はない。そんな時に「あ〜、あれストックしときゃよかったなぁ」って困った自分用のストックブログです。カスタマイズなどがしやすいよう、昨今のweb制作に取り入れられる一般的なコードを中心に掲載しています。

More Info

こんな記事はいかがですか?