東京都府中市のWeb制作会社が運営するブログです。

Style Recipe HTML & CSS  design template

「Maromaroスタイルレシピ」は、Webサイトパーツの無料デザインテンプレートです。
HTML、CSSのコピー&ペーストで、簡単に素敵なデザインを実装できます。
レシピや機能は随時追加していきます。

  • 1. さがす キーワードや細かなタグによって
    要素の検索が可能です
  • 2. コピーする タブで簡単にソースコードが確認でき
    コピーできます
  • 3. 実装 自分のWebサイトのソースコードに
    ペーストして完成です

新着レシピ

アイコンがCSSで出来ているフラットなボタン

  • RESULT
  • HTML
  • CSS
  • button01

  • コピー
    <p class="msr_btn15">
      <a href="#">button01</a>
    </p>
  • コピー
    .msr_btn15 a{
      width: 230px;
      padding:15px;
      color:#ffffff;
      font-size: 15px;
      line-height: 120%;
      text-align: center;
      text-decoration: none;
      -webkit-border-radius:8px;
      -moz-border-radius:8px;
      border-radius:8px;
      background: #FF9C15;
      display: block;
      position:relative;
      -webkit-transition: 0.3s ease-out;
      -moz-transition: 0.3s ease-out;
      -o-transition: 0.3s ease-out;
      transition: 0.3s ease-out;
    }
    .msr_btn15 a::before{
      content: '';
      width: 16px;
      height: 16px;
      margin:-8px 0 0 0;
      -webkit-border-radius:50%;
      -moz-border-radius:50%;
      border-radius:50%;
      background: #fff;
      position:relative;
      position:absolute;
      top:50%;
      left:20px;
      display:block;
    }
    .msr_btn15 a::after{
      content: '';
      width: 4px;
      height: 4px;
      border: 0px;
      margin:-3px 0 0 0;
      border-top: solid 2px #FF9C15;
      border-right: solid 2px #FF9C15;
      -ms-transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
      position:absolute;
      top:50%;
      left:24px;
      display:block;
      -webkit-transition: 0.3s ease-out;
      -moz-transition: 0.3s ease-out;
      -o-transition: 0.3s ease-out;
      transition: 0.3s ease-out;
    }
    .msr_btn15 a:hover{
      background: #FFAF42;
    }
    .msr_btn15 a:hover::after{
      border-top: solid 2px #FFAF42;
      border-right: solid 2px #FFAF42;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

フラットな左右ボタン

  • RESULT
  • HTML
  • CSS
  • コピー
    <div class="msr_btn14">
      <p class="left">
        <a href="#"> </a>
      </p>
      <p class="right">
        <a href="#"> </a>
      </p>
    </div>
  • コピー
    .msr_btn14{
      height:80px;
      position:relative;
    }
    .msr_btn14 .left,
    .msr_btn14 .right{
      display:block;
      margin:-40px 0 0 ;
      position:absolute;
      top:50%;
    }
    .msr_btn14 .left a,
    .msr_btn14 .right a{
      width:50px;
      height:80px;
      display:block;
      background:#10C664;
      -webkit-transition: 0.3s ease-out;
      -moz-transition: 0.3s ease-out;
      -o-transition: 0.3s ease-out;
      transition: 0.3s ease-out;
    }
    .msr_btn14 .left{
      left:0;
    }
    .msr_btn14 .right{
      right:0;
    }
    .msr_btn14 .left a{
      -webkit-border-radius:0px 6px 6px 0px ;
      -moz-border-radius:0px 6px 6px 0px ;
      border-radius:0px 6px 6px 0px ;
    }
    .msr_btn14 .right a{
      -webkit-border-radius:6px 0px 0px 6px;
      -moz-border-radius:6px 0px 0px 6px;
      border-radius:6px 0px 0px 6px;
      position:relative;
    }
    .msr_btn14 .left a::before{
      content: '';
      width: 20px;
      height: 20px;
      margin:-12px -17px 0 0;
      border: 0px;
      border-bottom: solid 4px #fff;
      border-left: solid 4px #fff;
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      display:block;
      position:absolute;
      top:50%;
      right:50%;
      -webkit-transition: 0.3s ease-out;
      -moz-transition: 0.3s ease-out;
      -o-transition: 0.3s ease-out;
      transition: 0.3s ease-out;
    }
    .msr_btn14 .right a::before{
      content: '';
      width: 20px;
      height: 20px;
      margin:-12px 0 0 -17px;
      border: 0px;
      border-top: solid 4px #fff;
      border-right: solid 4px #fff;
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      display:block;
      position:absolute;
      top:50%;
      left:50%;
      -webkit-transition: 0.3s ease-out;
      -moz-transition: 0.3s ease-out;
      -o-transition: 0.3s ease-out;
      transition: 0.3s ease-out;
    }
    
    /* hover */
    .msr_btn14 .left a:hover,
    .msr_btn14 .right a:hover{
      background:#fff;
    }
    .msr_btn14 .left a:hover::before{
      border-bottom: solid 4px #10C664;
      border-left: solid 4px #10C664;
    }
    .msr_btn14 .right a:hover::before{
      border-top: solid 4px #10C664;
      border-right: solid 4px #10C664;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

スライダーのボタンや前後ページへの移動ボタンとしてお使いください。

ボックス状のパンくず

  • RESULT
  • HTML
  • CSS
  • コピー
    <ul class="msr_bread06">
      <li>
        <a href="#">Pankuzu</a>
      </li>
      <li>
        <a href="#">Pankuzu</a>
      </li>
      <li>
        <a href="#">Pankuzu</a>
      </li>
      <li>
        Pankuzu
      </li>
    </ul>
  • コピー
    .msr_bread06{
      font-size: 14px;
      letter-spacing: -.4em;
    }
    .msr_bread06 li{
      margin:0 5px 5px 0;
      background:#ddd;
      color:#000;
      line-height:100%;
      letter-spacing: normal; 
      display:inline-block;
      -webkit-transition: 0.3s ease-out;
      -moz-transition: 0.3s ease-out;
      -o-transition: 0.3s ease-out;
      transition: 0.3s ease-out;
    }
    .msr_bread06 li:last-child{
      padding:8px 12px 8px 18px;
      color:#fff;
      background:#000;
    }
    .msr_bread06 li a{
      padding:8px 12px 8px 18px;
      color:#000;
      display:block;
      position:relative;
      z-index:1;
      -webkit-transition: 0.3s ease-out;
      -moz-transition: 0.3s ease-out;
      -o-transition: 0.3s ease-out;
      transition: 0.3s ease-out;
    }
    .msr_bread06 li:first-child a{
      padding-left:12px;
    }
    
    /* 三角部分 */
    .msr_bread06 li a::before{
      border: 14px solid transparent;
      border-left: 14px solid #fff;
      box-sizing: border-box;
      content: "";
      height: 28px;
      width: 14px;
      margin: -14px 0 0 0;
      position: absolute;
      top: 50%;
      left: 100%;
      z-index:2;
    }
    .msr_bread06 li a::after{
      border: 8px solid transparent;
      border-left: 8px solid #ddd;
      box-sizing: border-box;
      content: "";
      height: 16px;
      width: 8px;
      margin: -8px 0 0 0;
      position: absolute;
      top: 50%;
      left: 100%;
      z-index:3;
      -webkit-transition: 0.3s ease-out;
      -moz-transition: 0.3s ease-out;
      -o-transition: 0.3s ease-out;
      transition: 0.3s ease-out;
    }
    
    /* hover */
    .msr_bread06 li:hover{
      background:#000;
    }
    .msr_bread06 a:hover{
      color:#fff;
    }
    .msr_bread06 li a:hover::after{
      border-left: 8px solid #000;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

シャドウがかわいい角丸ボタン

  • RESULT
  • HTML
  • CSS
  • button01

  • コピー
    <p class="msr_btn13">
      <a href="#">button01</a>
    </p>
  • コピー
    .msr_btn13{
      height:53px;
      padding-top:1px;
    }
    .msr_btn13 a{
      width: 180px;
      padding:15px;
      color:#ffffff;
      font-size: 15px;
      line-height: 120%;
      text-align: center;
      text-decoration: none;
      background: #1B73BA;
      display: block;
      position:relative;
      -webkit-border-radius: 12px;
      -moz-border-radius: 12px;
      border-radius: 12px;
      -webkit-box-shadow:4px 4px 0px 0px rgba(0,0,0,0.2);
      -moz-box-shadow:4px 4px 0px 0px rgba(0,0,0,0.2);
      box-shadow:4px 4px 0px 0px rgba(0,0,0,0.2);
      -webkit-transition: 0.3s ease-out;
      -moz-transition: 0.3s ease-out;
      -o-transition: 0.3s ease-out;
      transition: 0.3s ease-out;
    }
    .msr_btn13 a:hover{
      margin:4px 0 0 4px ;
      -webkit-box-shadow:0 0 0px 0px rgba(0,0,0,0.2);
      -moz-box-shadow:0 0 0px 0px rgba(0,0,0,0.2);
      box-shadow:0 0 0px 0px rgba(0,0,0,0.2);
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

左右が丸いボタン

  • RESULT
  • HTML
  • CSS
  • button01

  • コピー
    <p class="msr_btn12">
      <a href="#">button01</a>
    </p>
  • コピー
    .msr_btn12 a{
      width: 180px;
      padding:15px;
      color:#ffffff;
      font-size: 15px;
      line-height: 120%;
      text-align: center;
      text-decoration: none;
      background: #1B73BA;
      display: block;
      position:relative;
      -webkit-border-radius: 24px;
      -moz-border-radius: 24px;
      border-radius: 24px;
      -webkit-box-shadow:0px 15px 30px -15px rgba(0,0,0,0.3);
      -moz-box-shadow:0px 15px 30px -15px rgba(0,0,0,0.3);
      box-shadow:0px 15px 30px -15px rgba(0,0,0,0.3);
      -webkit-transition: 0.3s ease-out;
      -moz-transition: 0.3s ease-out;
      -o-transition: 0.3s ease-out;
      transition: 0.3s ease-out;
    }
    .msr_btn12 a:hover{
      opacity:0.7;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

box-shadowで内側に線を引いたボタン

  • RESULT
  • HTML
  • CSS
  • button01

  • コピー
    <p class="msr_btn11">
      <a href="#">button01</a>
    </p>
  • コピー
    .msr_btn11 a{
      width: 230px;
      padding:15px;
      color:#ffffff;
      font-size: 15px;
      line-height: 120%;
      text-align: center;
      text-decoration: none;
      background: #1B73BA;
      border: 2px solid #1B73BA;
      -webkit-box-shadow:0px 0px 0px 1px #ffffff inset;
      -moz-box-shadow:0px 0px 0px 1px #ffffff inset;
      box-shadow:0px 0px 0px 1px #ffffff inset;
      display: block;
      position:relative;
      -webkit-transition: 0.3s ease-out;
      -moz-transition: 0.3s ease-out;
      -o-transition: 0.3s ease-out;
      transition: 0.3s ease-out;
    }
    .msr_btn11 a::before{
      content: '';
      width: 6px;
      height: 6px;
      border: 0px;
      margin:0 15px 1px 0;
      border-top: solid 2px #fff;
      border-right: solid 2px #fff;
      -ms-transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
      position:relative;
      display:inline-block;
      -webkit-transition: 0.3s ease-out;
      -moz-transition: 0.3s ease-out;
      -o-transition: 0.3s ease-out;
      transition: 0.3s ease-out;
    }
    .msr_btn11 a:hover{
      color:#1B73BA;
      background: #ffffff;
    }
    .msr_btn11 a:hover::before{
      border-top: solid 2px #1B73BA;
      border-right: solid 2px #1B73BA;
    }

検証済みブラウザ

  • IE10
  • Edge
  • FF
  • chrome
  • Safari

フラットなアンカーリンクリスト

  • RESULT
  • HTML
  • CSS
  • コピー
    <ul class="msr_list06 clearfix">
      <li><a href="#">button01</a></li>
      <li><a href="#">button01</a></li>
      <li><a href="#">button01</a></li>
    </ul>
  • コピー
    .msr_list06{
      margin:0 -10px;
    }
    .msr_list06 li{
      width:33.3%;
      padding:0 10px;
      display:inline-block;
      float:left;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
    }
    .msr_list06 li a{
      width:100%;
      padding:18px 0;
      color:#fff;
      font-size:16px;
      background:#1B73BA;
      border:2px solid #1B73BA;
      text-decoration:none;
      text-align:center;
      display:block;
      position:relative;
      -webkit-transition: 0.3s ease-out;
      -moz-transition: 0.3s ease-out;
      -o-transition: 0.3s ease-out;
      transition: 0.3s ease-out;
    }
    .msr_list06 li a::after{
      content: '';
      width: 6px;
      height: 6px;
      border: 0px;
      border-bottom: solid 2px #fff;
      border-right: solid 2px #fff;
      -ms-transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
      position: absolute;
      bottom: 8px;
      left: 50%;
      margin-left: -3px;
      -webkit-transition: 0.3s ease-out;
      -moz-transition: 0.3s ease-out;
      -o-transition: 0.3s ease-out;
      transition: 0.3s ease-out;
    }
    .msr_list06 li a:hover{
      background:#fff;
      color:#1B73BA;
    }
    .msr_list06 li a:hover::after{
      border-bottom: solid 2px #1B73BA;
      border-right: solid 2px #1B73BA;
    }

検証済みブラウザ

  • IE10
  • Edge
  • FF
  • chrome
  • Safari

スタイリッシュなサーチフォーム

  • RESULT
  • HTML
  • CSS
  • コピー
    <form>
      <div class="msr_search_05">
        <input type="text">
        <input type="submit" value="Search">
      </div>
    </form>
  • コピー
    
    /*--------------------------------------
    検索
    ---------------------------------------*/
    .msr_search_05 {
      position: relative;
      border: 1px solid #999999;
      width: 270px;
    }
    .msr_search_05 input[type=text] {
      border: none;
      padding: 10px;
      height: 10px;
      width: 220px;
    }
    .msr_search_05 input[type=text]:focus{
      outline:none;
    }
    .msr_search_05 input[type=submit] {
      background:#FFFFFF;
      border:none;
      border-left: 1px solid #999999;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      color:#333333;
      cursor: pointer;
      margin: 0;
      position: absolute;
      right: 0;
      top: 0;
      transition: 0.2s ease-in-out;
      -o-transition: 0.2s ease-in-out;
      -moz-transition: 0.2s ease-in-out;
      -webkit-transition: 0.2s ease-in-out;
      height: 30px;
      width: 60px;
    }
    .msr_search_05 input[type=submit]:hover {
      color:#AAAAAA;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

スタイリッシュなフォーム

  • RESULT
  • HTML
  • CSS
  • Radio_button

    Chack_box

    Pulldown

    file

  • コピー
    <form>
      <div class="msr_text_05">
        <label>Text</label>
        <input type="text" />
      </div>
      <div class="msr_radio_05">
        <p>Radio_button</p>
        <input type="radio" name="msr_radio_tye03" id="msr_05_radio01" />
        <label for="msr_05_radio01">Radio1</label>
        <input type="radio" name="msr_radio_tye03" id="msr_05_radio02" />
        <label for="msr_05_radio02">Radio2</label>
      </div>
      <div class="msr_chack_05">
        <p>Chack_box</p>
        <input type="checkbox" name="msr_05_chack01" id="msr_05_chack01" />
        <label for="msr_05_chack01">Checkbox1</label>
        <input type="checkbox" name="msr_05_chack01" id="msr_05_chack02" />
        <label for="msr_05_chack02">Checkbox2</label>
        <input type="checkbox" name="msr_05_chack01" id="msr_05_chack03" />
        <label for="msr_05_chack03">Checkbox3</label>
      </div>
      <div class="msr_pulldown_05">
        <p>Pulldown</p>
        <label>
          <select>
            <option value="">選択してください</option>
            <option value="test1">test1</option>
            <option value="test2">test2</option>
            <option value="test3">test3</option>
            <option value="test4">test4</option>
            <option value="test5">test5</option>
          </select>
        </label>
      </div>
      
      <div class="msr_file_05">
        <p>file</p>
        <label for="file_photo">
          画像を選択してください
          <input type="file" id="file_photo">
        </label>
      </div>
      <div class="msr_textarea_05">
        <label>Textarea</label>
        <textarea></textarea>
      </div>
      <p class="msr_sendbtn_05">
        <input type="submit" value="Send">
      </p>
      <p class="msr_sendbtn_05">
        <input type="submit" value="Send" disabled="disabled">
      </p>
    </form>
  • コピー
    /*--------------------------------------
    テキスト
    ---------------------------------------*/
    
    .msr_text_05 {
      padding-bottom: 20px;
      width: 460px;
    }
    .msr_text_05 label {
      display: block;
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_text_05 input[type=text] {
      background: #fff;
      border: 1px solid #999999;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      font-size: 14px;
      padding: 10px;
      height: 40px;
      width: 460px;
    }
    
    /*--------------------------------------
    ラジオボタン
    ---------------------------------------*/
    
    .msr_radio_05 {
      padding-bottom: 20px;
    }
    .msr_radio_05 p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_radio_05 input[type=radio] {
      display: none;
      margin: 0;
    }
    .msr_radio_05 input[type=radio] + label {
      cursor: pointer;
      display: inline-block;
      font-size: 14px;
      line-height: 1.5px;
      margin-right: 12px;
      padding: 0 0 0px 24px;
      position: relative;
    }
    .msr_radio_05 input[type=radio] + label::before {
      border: 1px solid #777777;
      border-radius: 50%;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      content: "";
      display: block;
      margin-top: -9px;
      position: absolute;
      left: 0;
      top: 50%;
      height: 16px;
      width: 16px;
    }
    .msr_radio_05 input[type=radio]:checked + label::after {
      background: #333333;
      border-radius: 50%;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      content: "";
      display: block;
      margin-top: -4px;
      position: absolute;
      left: 4px;
      top: 0;
      height: 8px;
      width: 8px;
    }
    
    /*--------------------------------------
    チェックボックス
    ---------------------------------------*/
    
    .msr_chack_05 {
      padding-bottom: 20px;
    }
    .msr_chack_05 p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_chack_05 input[type=checkbox] {
      display: none;
      margin: 0;
    }
    .msr_chack_05 input[type=checkbox] + label {
      cursor: pointer;
      display: inline-block;
      font-size: 14px;
      line-height: 1.5px;
      margin-right: 12px;
      padding: 0 0 0 24px;
      position: relative;
    }
    .msr_chack_05 input[type=checkbox] + label::before {
      border: 1px solid #999999;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      content: "";
      display: block;
      margin-top: -9px;
      position: absolute;
      left: 0;
      top: 50%;
      height: 16px;
      width: 16px;
    }
    .msr_chack_05 input[type=checkbox]:checked + label::after {
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      content: "";
      display: block;
      position: absolute;
      top: 50%;
    }
    .msr_chack_05 input[type=checkbox]:checked + label::after {
      border-bottom: 1px solid #333333;
      border-left: 1px solid #333333;
      left: 3px;
      margin-top: -6px;
      transform: rotate(-45deg);
      -webkit-transform: rotate(-45deg);
      height: 6px;
      width: 10px;
    }
    
    /*--------------------------------------
    プルダウン
    ---------------------------------------*/
    
    .msr_pulldown_05 {
      padding-bottom: 20px;
      position: relative;
      width: 230px;
    }
    .msr_pulldown_05 p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_pulldown_05 select {
      appearance: none;
      -moz-appearance: none;
      -ms-appearance: none;
      -webkit-appearance: none;
      background:#FFFFFF;
      border: 1px solid #999999;
      border-radius: 0;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      cursor: pointer;
      padding: 10px;
      position:relative;
      height: 40px;
      width: 230px;
    }
    .msr_pulldown_05 label{
      position:relative;
    }
    .msr_pulldown_05 label::after {
      content:"";
      border-bottom: 1px solid #333333;
      border-left: 1px solid #333333;
      right: 16px;
      height: 8px;
      margin-top: -5px;
      transform: rotate(-45deg);
      -webkit-transform: rotate(-45deg);
      position:absolute;
      top:50%;
      width: 8px;
    }
    
    /*--------------------------------------
    ファイル選択
    ---------------------------------------*/
    
    .msr_file_05 {
      padding-bottom: 20px;
      width: 460px;
    }
    
    .msr_file_05 label {
      border: 1px solid #999999;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      cursor: pointer;
      display:block;
      font-size:14px;
      padding: 10px;
      position:relative;
      height: 40px;
      width: 230px;
    }
    .msr_file_05 label::before {
      content:"+";
      color:#333333;
      font-size:20px;
      line-height:1;
      margin-top: -9px;
      right:10px;
      position:absolute;
      top:50%;
    }
    .msr_file_05 input[type=file] {
      display: none;
    }
    
    
    /*--------------------------------------
    テキストエリア
    ---------------------------------------*/
    
    .msr_textarea_05 {
      padding-bottom: 10px;
      width: 460px;
    }
    .msr_textarea_05 label {
      display: block;
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_textarea_05 textarea {
      border: 1px solid #999999;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      font-size: 13px;
      padding: 10px;
      height: 210px;
      width: 460px;
    }
    
    /*--------------------------------------
    送信ボタン
    ---------------------------------------*/
    .msr_sendbtn_05{
      margin:0 0 10px;
    }
    
    .msr_sendbtn_05 input[type=submit] {
      background-color: #FFFFFF;
      border:1px solid #999999;
      border-radius: 2px;
      color: #333333;
      cursor:pointer;
      display: block;
      font-size: 14px;
      padding: 14px;
      text-align: center;
      text-decoration: none;
      transition: 0.2s ease-in-out;
      -o-transition: 0.2s ease-in-out;
      -moz-transition: 0.2s ease-in-out;
      -webkit-transition: 0.2s ease-in-out;
      width: 180px;
    }
    .msr_sendbtn_05 input[type=submit]:hover {
      background-color: #999999;
      color: #FFFFFF;
    }
    .msr_sendbtn_05 input[disabled=disabled] {
      cursor:default;
      opacity: 0.5;
    }
    .msr_sendbtn_05 input[disabled=disabled]:hover {
      background-color: #FFFFFF;
      color: #333333;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

スタイリッシュなニュースリスト

  • RESULT
  • HTML
  • CSS
  • コピー
    <ul class="msr_newslist05">
      <li>
        <a href="#">
          <time datetime="2016-1-1">2016.01.01</time>
          <p class="cat">Category</p>
          <p class="ttl">テキストテキスト</p>
        </a>
      </li>
      <li>
        <a href="#">
          <time datetime="2016-1-1">2016.01.01</time>
          <p class="cat">Category</p>
          <p class="ttl">テキストテキストテキストテキストテキストテキストテキストテキスト</p>
        </a>
      </li>
      <li>
        <a href="#">
          <time datetime="2016-1-1">2016.01.01</time>
          <p class="cat">Category</p>
          <p class="ttl">テキストテキスト</p>
        </a>
      </li>
      <li>
        <a href="#">
          <time datetime="2016-1-1">2016.01.01</time>
          <p class="cat">Category</p>
          <p class="ttl">テキストテキスト</p>
        </a>
      </li>
    </ul>
  • コピー
    .msr_newslist05 {
      background-color: #FFFFFF;
      border-top:1px solid #999999;
      width: 100%;
    }
    .msr_newslist05 li {
      border-bottom:1px solid #999999;
      font-size: 14px;
    }
    .msr_newslist05 li a {
      box-sizing: border-box;
      color: #333333;
      display: table;
      text-decoration: none;
      transition: 0.2s ease-in-out;
      -o-transition: 0.2s ease-in-out;
      -moz-transition: 0.2s ease-in-out;
      -webkit-transition: 0.2s ease-in-out;
      width: 100%;
    }
    .msr_newslist05 li a:hover {
      background: #EEEEEE;
      text-decoration: none;
    }
    .msr_newslist05 li time {
      border-right:1px solid #999999;
      display: table-cell;
      padding: 16px;
      text-align:center;
      vertical-align: middle;
      width:14%;
    }
    .msr_newslist05 li .cat {
      border-right:1px solid #999999;
      display: table-cell;
      padding: 16px;
      text-align:center;
      vertical-align: middle;
      width:18%;
    }
    .msr_newslist05 li .ttl {
      display: table-cell;
      padding: 16px;
      vertical-align: middle;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

要素一覧

  • このエントリーをはてなブックマークに追加