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

Style Recipe HTML & CSS design template

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

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

新着レシピ

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

  • 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

スタイリッシュなテーブル

  • RESULT
  • HTML
  • CSS
  • th th th th
    th texttexttexttext texttexttexttext texttexttexttext texttexttexttext
    th texttexttexttext texttexttexttext texttexttexttext texttexttexttext
    th texttexttexttext texttexttexttext texttexttexttext texttexttexttext
    th texttexttexttext texttexttexttext texttexttexttext texttexttexttext
  • コピー
    <table class="msr_table05">
      <thead>
        <tr>
          <th></th>
          <th>th</th>
          <th>th</th>
          <th>th</th>
          <th>th</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <th>th</th>
          <td>texttexttexttext</td>
          <td>texttexttexttext</td>
          <td>texttexttexttext</td>
          <td>texttexttexttext</td>
        </tr>
        <tr>
          <th>th</th>
          <td>texttexttexttext</td>
          <td>texttexttexttext</td>
          <td>texttexttexttext</td>
          <td>texttexttexttext</td>
        </tr>
        <tr>
          <th>th</th>
          <td>texttexttexttext</td>
          <td>texttexttexttext</td>
          <td>texttexttexttext</td>
          <td>texttexttexttext</td>
        </tr>
        <tr>
          <th>th</th>
          <td>texttexttexttext</td>
          <td>texttexttexttext</td>
          <td>texttexttexttext</td>
          <td>texttexttexttext</td>
        </tr>
      </tbody>
    </table>
  • コピー
    .msr_table05 {
      border:1px solid #999999;
      border-collapse: collapse;
      color:#333333;
      line-height: 1.6;
      text-align: left;
      width: 100%;
    }
    .msr_table05 th {
      border:1px solid #999999;
      font-size: 14px;
      font-weight: normal;
      padding: 12px 16px;
      text-align: center;
      vertical-align : middle;
    }
    .msr_table05 thead th{
      position:relative;
    }
    .msr_table05 thead th:after{
      content: "";
      display: block;
      left: 0;
      position: absolute;
      bottom: 2px;
      width: 100%;
      border-bottom: 1px solid #999999;
    }
    .msr_table05 td {
      border:1px solid #999999;
      font-size: 14px;
      padding: 12px 16px;
      vertical-align: top;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

スタイリッシュなフローチャート

  • RESULT
  • HTML
  • CSS
    • Flowchart
    • Flowchart
    • Flowchart
  • コピー
    <ul class="msr_flow05">
      <li><span>Flowchart</span></li>
      <li><span>Flowchart</span></li>
      <li class="active"><span>Flowchart</span></li>
    </ul>
  • コピー
    .msr_flow05 {
      color: #333333;
      counter-reset: section;
      list-style: none;
      overflow: hidden;
    }
    .msr_flow05 li {
      background:#FFFFFF;
      border-top:1px solid #999999;
      border-left:1px solid #999999;
      border-bottom:1px solid #999999;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      color: #333333;
      display: inline-block;
      font-size: 18px;
      height:60px;
      margin:0 32px 0 0;
      min-width: 200px;
      padding: 18px 0 0 16px;
      position: relative;
      text-align: center;
      text-decoration: none;
    }
    .msr_flow05 li span{
      padding:0 0 4px
    }
    .msr_flow05 li:after {
      content: "";
      background:#FFFFFF;
      display: inline-block;
      height:56px;
      border-top: 1px solid #999999;
      border-right: 1px solid #999999;
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
      vertical-align: middle;
      width:56px;
      position:absolute;
      top:0;
      right:-19px;
      z-index:-1;
    }
    .msr_flow05 li:before {
      color:#CCCCCC;
      content:counters(section, ".") " ";
      counter-increment: section;
      font-size:32px;
      left:8px;
      line-height:1;
      margin:-16px 0 0;
      position:absolute;
      top:50%;
    }
    /* アクティブ */.msr_flow05 .active span{
      border-bottom:1px solid #999999;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

中に入っている数字はCSSでカウントしているので、要素を増やせば自動的に数が増えます。

スタイリッシュなパンくず

  • RESULT
  • HTML
  • CSS
  • コピー
    <ul class="msr_bread05">
      <li>
        <a href="#">Pankuzu</a>
      </li>
      <li>
        <a href="#">Pankuzu</a>
      </li>
      <li>
        Pankuzu
      </li>
    </ul>
  • コピー
    .msr_bread05 li {
      display:inline-block;
      font-size: 14px;
    }
    .msr_bread05 li a {
      color: #333333;
      display:inline-block;
      padding:8px 0;
      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;
    }
    .msr_bread05 li a:hover{
      opacity: 0.6;
    }
    /* 矢印 */.msr_bread05 li:after {
      content: "";
      display: inline-block;
      margin: 0 8px;
      height: 6px;
      border-top: 1px solid #999999;
      border-right: 1px solid #999999;
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
      vertical-align: middle;
      width: 6px;
    }
    .msr_bread05 li:last-child:after {
      display:none;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

スタイリッシュなボタン02

  • RESULT
  • HTML
  • CSS
  • button02

  • コピー
    <p class="msr_box10">
      <a href="#">button02</a>
    </p>
  • コピー
    .msr_box10 a {
      background-color: #FFFFFF;
      border:1px solid #999999;
      color: #333333;
      display: block;
      font-size: 14px;
      padding: 14px;
      position:relative;
      text-align: center;
      text-decoration: none;
      width: 230px;
    }
    .msr_box10 a:before {
      background:#333333;
      border-bottom:0px solid transparent;
      border-left:0px solid transparent;
      border-right:8px solid transparent;
      border-top:#FFFFFF 8px solid;
      content: "";
      display: inline-block;
      height: 0;
      right: 0;
      margin:-5px 0 0;
      position: absolute;
      bottom: 0;
      vertical-align: middle;
      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: 0;
    }
    /* マウスオーバー */.msr_box10 a:hover:before {
      border-bottom:0px solid transparent;
      border-left:0px solid transparent;
      border-right:20px solid transparent;
      border-top:#FFFFFF 20px solid;
      content: "";
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

スタイリッシュなボタン

  • RESULT
  • HTML
  • CSS
  • button01

  • コピー
    <p class="msr_box09">
      <a href="#">button01</a>
    </p>
  • コピー
    .msr_box09 a {
      background-color: #FFFFFF;
      border:1px solid #999999;
      border-radius: 2px;
      color: #333333;
      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: 230px;
    }
    /* マウスオーバー */.msr_box09 a:hover {
      background-color: #999999;
      color: #FFFFFF;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

スタイリッシュなボックス

  • RESULT
  • HTML
  • CSS
  • コピー
    <div class="msr_box05">
      <a href="#">
        <img src="/stylerecipe_img/dummy_img03.png" width="230" height="110" alt="img"/>
        <h3 class="ttl">box</h3>
        <p>テキストテキストテキストテキストテキストテキストテキストテキスト</p>
      </a>
    </div>
  • コピー
    .msr_box05 {
      width: 232px;
    }
    .msr_box05 a{
      border:1px solid #999999;
      box-sizing: border-box;
      color: #333333;
      display:block;
    }
    .msr_box05 a *{
      transition: 0.2s opacity ease-in-out;
      -o-transition: 0.2s opacity ease-in-out;
      -moz-transition: 0.2s opacity ease-in-out;
      -webkit-transition: 0.2s opacity ease-in-out;
    }
    .msr_box05 p {
      font-size: 14px;
      line-height: 1.6;
      padding: 8px;
    }
    .msr_box05 .ttl {
      font-size: 18px;
      line-height: 1.6;
      padding: 8px 8px 0;
    }
    .msr_box05 a:hover *{
      opacity: 0.8;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

スタイリッシュなリスト

  • RESULT
  • HTML
  • CSS
    • list
    • list
    • list
  • コピー
    <ul class="msr_list05">
      <li>list</li>
      <li>list</li>
      <li>list</li>
    </ul>
  • コピー
    .msr_list05 li {
      font-size: 16px;
      padding: 0 0 8px 20px;
      position:relative;
    }
    /* アイコン */.msr_list05 li:before {
      border-bottom:1px solid #999999;
      content: "";
      height: 1;
      left:0;
      margin: 0 10px 2px 0;
      position:absolute;
      top:9px;
      vertical-align: middle;
      width: 10px;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

要素一覧

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