東京都府中市の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
  • コピー
    <form>
      <div class="msr_search_04">
        <input type="text">
        <input type="submit" value="">
      </div>
    </form>
  • コピー
    /*--------------------------------------
    検索
    ---------------------------------------*/
    
    .msr_search_04 {
      background: #000000;
      position: relative;
      width: 270px;
    }
    .msr_search_04 input[type=text] {
      background: #000000;
      border: none;
      color: #fff;
      padding: 0;
      padding: 10px;
      height: 20px;
      width: 210px;
    }
    .msr_search_04 input[type=text]:focus{
      outline:none;
    }
    .msr_search_04 input[type=submit] {
      background: #000000 url(/stylerecipe_img/flat_search_btn02.png) no-repeat center;
      border-bottom: 0;
      border-left: 0;
      border-right: 0;
      border-top: 0;
      cursor: pointer;
      margin: 0;
      padding: 0;
      position: absolute;
      right: 1px;
      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: 40px;
      width: 60px;
    }
    .msr_search_04 input[type=submit]:hover {
      opacity: 0.6;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

画像へのパスは任意のものに書き換えてください!
使用している画像はこちら

マテリアルなサーチフォーム

  • RESULT
  • HTML
  • CSS
  • コピー
    <form>
      <div class="msr_search_03">
        <input type="text">
        <input type="submit" value="">
      </div>
    </form>
  • コピー
    /*--------------------------------------
    検索
    ---------------------------------------*/
    .msr_search_03 {
      position: relative;
      border: 1px solid #D7D7D7;
      border-radius: 3px;
      box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -o-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -ms-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      width: 270px;
    }
    .msr_search_03 input[type=text] {
      border: none;
      padding: 10px;
      height: 10px;
      width: 220px;
    }
    .msr_search_03 input[type=text]:focus{
      outline:none;
    }
    .msr_search_03 input[type=submit] {
      background: url(/stylerecipe_img/material_search_icon01.png) no-repeat;
      background-position: center;
      border-bottom: 0;
      border-left: 0;
      border-right: 0;
      border-top: 0;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      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_03 input[type=submit]:hover {
      opacity: 0.6;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

画像へのパスは任意のものに書き換えてください!
使用している画像はこちら

フラットなサーチフォーム

  • RESULT
  • HTML
  • CSS
  • コピー
    <form>
      <div class="msr_search_02">
        <input type="text">
        <input type="submit" value="">
      </div>
    </form>
  • コピー
    /*--------------------------------------
    検索
    ---------------------------------------*/
    .msr_search_02 {
      border: 1px solid #1B73BA;
      position: relative;
      width: 270px;
    }
    .msr_search_02 input[type=text] {
      border: none;
      color: #000000;
      padding: 0;
      padding: 10px;
      height: 10px;
      width: 210px;
    }
    .msr_search_02 input[type=text]:focus{
      outline:none;
    }
    .msr_search_02 input[type=submit] {
      background: #FFFFFF url(/stylerecipe_img/flat_search_btn01.png) no-repeat;
      border-bottom: 0;
      border-left: 0;
      border-right: 0;
      border-top: 0;
      cursor: pointer;
      margin: 0;
      padding: 0;
      position: absolute;
      right: 1px;
      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_02 input[type=submit]:hover {
      opacity: 0.6;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

画像へのパスは任意のものに書き換えてください!
使用している画像はこちら

無難なサーチフォーム

  • RESULT
  • HTML
  • CSS
  • コピー
    <form>
      <div class="msr_search_01">
        <input type="text">
        <input type="submit" value="">
      </div>
    </form>
  • コピー
    /*--------------------------------------
    検索
    ---------------------------------------*/
    .msr_search_01{
      border: 1px solid #AAAAAA;
      position: relative;
      width: 270px;
    }
    .msr_search_01 input[type=text] {
      border: none;
      color: #000000;
      height: 30px;
      padding: 0 0 0 8px;
      width: 220px;
    }
    .msr_search_01 input[type=text]:focus{
      outline:none;
    }
    .msr_search_01 input[type=submit] {
      background: url(/stylerecipe_img/search_btn01.png) no-repeat;
      border-bottom: 0;
      border-left: 1px solid #AAAAAA;
      border-right: 0;
      border-top: 0;
      cursor: pointer;
      height: 30px;
      margin: 0;
      padding: 0;
      position: absolute;
      right: 1px;
      top: 0px;
      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: 50px;
    }
    .msr_search_01 input[type=submit]:hover {
      opacity: 0.6;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

画像へのパスは任意のものに書き換えてください!
使用している画像はこちら

コミック風のフォーム

  • RESULT
  • HTML
  • CSS
  • Radio_button

    Chack_box

    Pulldown

    file

  • コピー
    <form>
      <div class="msr_text_04">
        <label>Text</label>
        <input type="text" />
      </div>
      <div class="msr_radio_04">
        <p>Radio_button</p>
        <input type="radio" name="msr_radio_tye01" id="msr_04_radio01" />
        <label for="msr_04_radio01">radio1</label>
        <input type="radio" name="msr_radio_tye01" id="msr_04_radio02" />
        <label for="msr_04_radio02">radio2</label>
      </div>
      <div class="msr_chack_04">
        <p>Chack_box</p>
        <input type="checkbox" name="msr_check_tye01" id="msr_04_chack01" />
        <label for="msr_04_chack01">checkbox1</label>
        <input type="checkbox" name="msr_check_tye01" id="msr_04_chack02" />
        <label for="msr_04_chack02">checkbox2</label>
        <input type="checkbox" name="msr_check_tye01" id="msr_04_chack03" />
        <label for="msr_04_chack03">checkbox3</label>
      </div>
      <div class="msr_pulldown_04">
        <p>Pulldown</p>
        <select name="msr_04_pulldown01">
          <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>
      </div>
      <div class="msr_file_04">
        <p>file</p>
        <div class="msr_filebox_04">
          <label for="file_photo04">画像を選択してください</label>
          <input type="file" id="file_photo04">
        </div>
      </div>
      <div class="msr_textarea_04">
        <label for="text">Textarea</label>
        <textarea></textarea>
      </div>
      <p class="msr_sendbtn_04">
        <input type="submit" value="Send">
      </p>
      <p class="msr_sendbtn_04 msr_sendbtn_04_disabled">
        <input type="submit" value="Send" disabled="disabled">
      </p>
    </form>
  • コピー
    /*--------------------------------------
    テキスト
    ---------------------------------------*/
    
    .msr_text_04 {
      padding-bottom: 20px;
      width: 460px;
    }
    .msr_text_04 label {
      display: block;
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_text_04 input[type=text] {
      border: 5px solid #000000;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      color: #000000;
      font-size: 13px;
      padding: 10px;
      height: 40px;
      width: 460px;
    }
    
    /*--------------------------------------
    ラジオボタン
    ---------------------------------------*/
    
    .msr_radio_04 {
      padding-bottom: 20px;
    }
    .msr_radio_04 p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_radio_04 input[type=radio] {
      display: none;
      margin: 0;
    }
    .msr_radio_04 input[type=radio] + label {
      cursor: pointer;
      display: inline-block;
      font-size: 13px;
      line-height: 1.5px;
      margin-right: 12px;
      padding: 0 0 0 30px;
      position: relative;
    }
    .msr_radio_04 input[type=radio] + label::before {
      border: 3px solid #000000;
      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: -3px;
      height: 24px;
      width: 24px;
    }
    .msr_radio_04 input[type=radio]:checked + label::after {
      background: #000000;
      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: 6px;
      top: -2px;
      height: 12px;
      width: 12px;
    }
    
    /*--------------------------------------
    チェックボックス
    ---------------------------------------*/
    
    .msr_chack_04 {
      padding-bottom: 20px;
    }
    .msr_chack_04 p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_chack_04 input[type=checkbox] {
      display: none;
      margin: 0;
    }
    .msr_chack_04 input[type=checkbox] + label {
      cursor: pointer;
      display: inline-block;
      font-size: 13px;
      line-height: 1.5px;
      margin-right: 12px;
      padding: 0 0 0 30px;
      position: relative;
    }
    .msr_chack_04 input[type=checkbox] + label::before {
      border: 3px solid #000000;
      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: -3px;
      height: 24px;
      width: 24px;
    }
    .msr_chack_04 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_04 input[type=checkbox]:checked + label::after {
      border-bottom: 3px solid #000000;
      border-left: 3px solid #000000;
      left: 6px;
      margin-top: -8px;
      transform: rotate(-45deg);
      -webkit-transform: rotate(-45deg);
      height: 10px;
      width: 12px;
    }
    
    /*--------------------------------------
    プルダウン
    ---------------------------------------*/
    
    .msr_pulldown_04 {
      padding-bottom: 20px;
      position: relative;
      width: 230px;
    }
    .msr_pulldown_04 p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_pulldown_04 select {
      appearance: none;
      -moz-appearance: none;
      -webkit-appearance: none;
      background: url(/stylerecipe_img/msr04_pulldown_btn01.png) no-repeat right;
      border: 5px solid #000000;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      cursor: pointer;
      padding: 5px 10px;
      height: 40px;
      width: 230px;
    }
    
    /*--------------------------------------
    ファイル選択
    ---------------------------------------*/
    
    .msr_file_04 {
      padding-bottom: 20px;
      width: 460px;
    }
    .msr_file_04>p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_filebox_04 input[type=file] {
      display: none;
    }
    .msr_filebox_04 label {
      border: 5px solid #000000;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      cursor: pointer;
      display: block;
      font-size: 14px;
      padding: 5px 10px;
      position: relative;
      height: 40px;
      width: 460px;
    }
    .msr_filebox_04 label:before {
      background: #000000;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      content: "Browse...";
      color: #fff;
      display: inline-block;
      font-size: 14px;
      text-align: center;
      padding-top: 5px;
      position: absolute;
      right: 0;
      top: 0;
      height: 30px;
      width: 99px;
    }
    
    /*--------------------------------------
    テキストエリア
    ---------------------------------------*/
    
    .msr_textarea_04 {
      padding-bottom: 10px;
      width: 460px;
    }
    .msr_textarea_04 label {
      display: block;
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_textarea_04 textarea {
      border: 5px solid #000000;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      color: #000000;
      font-size: 13px;
      padding: 10px;
      height: 210px;
      width: 460px;
    }
    
    /*--------------------------------------
    送信ボタン
    ---------------------------------------*/
    .msr_sendbtn_04 {
      margin:0 0 10px;
      position: relative;
      height: 50px;
      width: 150px;
    }
    .msr_sendbtn_04 input[type=submit] {
      background: #000000;
      background-position: 10px;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      border: none;
      color: #FFFFFF;
      cursor: pointer;
      font-size: 14px;
      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: 50px;
      width: 150px;
    }
    .msr_sendbtn_04:before {
      border: 6px solid transparent;
      border-left: 6px solid #FFFFFF;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      content: "";
      display: inline-block;
      height: 12px;
      position: absolute;
      top: 20px;
      left: 20px;
      vertical-align: middle;
      width: 6px;
      z-index: 10;
    }
    .msr_sendbtn_04 input[type=submit]:hover {
      opacity: 0.6;
    }
    .msr_sendbtn_04_disabled input[type=submit]{
      background: #FFFFFF;
      border: 5px solid #DDDDDD;
      color: #DDDDDD;
      cursor: default;
    }
    .msr_sendbtn_04_disabled:before {
      border-left: 6px solid #DDDDDD;
      content: "";
    }
    .msr_sendbtn_04_disabled input[type=submit]:hover {
      opacity: 1;
    }

検証済みブラウザ

  • Edge
  • FF
  • chrome
  • Safari

マテリアルなフォーム

  • RESULT
  • HTML
  • CSS
  • Radio_button

    Chack_box

    Pulldown

    file

  • コピー
    <form>
      <div class="msr_text_03">
        <label>Text</label>
        <input type="text" />
      </div>
      <div class="msr_radio_03">
        <p>Radio_button</p>
        <input type="radio" name="msr_radio_tye03" id="msr_03_radio01" />
        <label for="msr_03_radio01">radio1</label>
        <input type="radio" name="msr_radio_tye03" id="msr_03_radio02" />
        <label for="msr_03_radio02">radio2</label>
      </div>
      <div class="msr_chack_03">
        <p>Chack_box</p>
        <input type="checkbox" name="msr_check_tye01" id="msr_03_chack01" />
        <label for="msr_03_chack01">checkbox1</label>
        <input type="checkbox" name="msr_check_tye01" id="msr_03_chack02" />
        <label for="msr_03_chack02">checkbox2</label>
        <input type="checkbox" name="msr_check_tye01" id="msr_03_chack03" />
        <label for="msr_03_chack03">checkbox3</label>
      </div>
      <div class="msr_pulldown_03">
        <p>Pulldown</p>
        <select name="msr_03_pulldown01">
          <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>
      </div>
      <div class="msr_file_03">
        <p>file</p>
        <div class="msr_filebox_03">
          <label for="file_photo">画像を選択してください</label>
          <input type="file" id="file_photo">
        </div>
      </div>
      <div class="msr_textarea_03">
          <label>Textarea</label>
          <textarea></textarea>
      </div>
      <p class="msr_sendbtn_03">
        <input type="submit" value="Send">
      </p>
      <p class="msr_sendbtn_03">
        <input type="submit" value="Send" disabled="disabled">
      </p>
    </form>
  • コピー
    /*--------------------------------------
    テキスト
    ---------------------------------------*/
    
    .msr_text_03 {
      padding-bottom: 20px;
      width: 460px;
    }
    .msr_text_03 label {
      display: block;
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_text_03 input[type=text] {
      background: #fff;
      border: 1px solid #D7D7D7;
      box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -o-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -ms-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      border-radius: 3px;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      font-size: 13px;
      padding: 10px;
      height: 40px;
      width: 460px;
    }
    
    /*--------------------------------------
    ラジオボタン
    ---------------------------------------*/
    
    .msr_radio_03 {
      padding-bottom: 20px;
    }
    .msr_radio_03 p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_radio_03 input[type=radio] {
      display: none;
      margin: 0;
    }
    .msr_radio_03 input[type=radio] + label {
      cursor: pointer;
      display: inline-block;
      font-size: 13px;
      line-height: 1.5px;
      margin-right: 12px;
      padding: 0 0 3px 24px;
      position: relative;
    }
    .msr_radio_03 input[type=radio] + label::before {
      border: 1px solid #C3C3C3;
      box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -o-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -ms-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      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: 13px;
      width: 13px;
    }
    .msr_radio_03 input[type=radio]:checked + label::after {
      background: #1B73BA;
      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: 3px;
      top: 0;
      height: 7px;
      width: 7px;
    }
    
    /*--------------------------------------
    チェックボックス
    ---------------------------------------*/
    
    .msr_chack_03 {
      padding-bottom: 20px;
    }
    .msr_chack_03 p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_chack_03 input[type=checkbox] {
      display: none;
      margin: 0;
    }
    .msr_chack_03 input[type=checkbox] + label {
      cursor: pointer;
      display: inline-block;
      font-size: 13px;
      line-height: 1.5px;
      margin-right: 12px;
      padding: 0 0 0 24px;
      position: relative;
    }
    .msr_chack_03 input[type=checkbox] + label::before {
      border: 1px solid #D7D7D7;
      box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -o-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -ms-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      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: 14px;
      width: 14px;
    }
    .msr_chack_03 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_03 input[type=checkbox]:checked + label::after {
      border-bottom: 3px solid #1B73BA;
      border-left: 3px solid #1B73BA;
      left: 2px;
      margin-top: -6px;
      transform: rotate(-45deg);
      -webkit-transform: rotate(-45deg);
      height: 6px;
      width: 10px;
    }
    
    /*--------------------------------------
    プルダウン
    ---------------------------------------*/
    
    .msr_pulldown_03 {
      padding-bottom: 20px;
      position: relative;
      width: 230px;
    }
    .msr_pulldown_03 p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_pulldown_03 select {
      appearance: none;
      -moz-appearance: none;
      -ms-appearance: none;
      -webkit-appearance: none;
      background: url(/stylerecipe_img/material_arrow_blue02.png) no-repeat;
      background-position: 210px center;
      border: 1px solid #D7D7D7;
      box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -o-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -ms-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      cursor: pointer;
      text-indent: .01px;
      text-overflow: "";
      padding: 10px;
      height: 40px;
      width: 230px;
    }
    
    /*--------------------------------------
    ファイル選択
    ---------------------------------------*/
    
    .msr_file_03 {
      padding-bottom: 20px;
      width: 460px;
    }
    .msr_file_03>p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_filebox_03 input[type=file] {
      display: none;
    }
    .msr_filebox_03 {
      position: relative;
    }
    .msr_filebox_03 label {
      position: relative;
      border: 1px solid #D7D7D7;
      box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -o-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -ms-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      cursor: pointer;
      display: block;
      font-size: 14px;
      padding: 10px;
      height: 20px;
      width: 460px;
    }
    .msr_filebox_03 label:before {
      background: #D7D7D7;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      content: "Browse...";
      color: #1B73BA;
      display: inline-block;
      font-size: 14px;
      padding-top: 10px;
      text-align: center;
      position: absolute;
      right: 0;
      top: 0;
      height: 40px;
      width: 100px;
    }
    
    /*--------------------------------------
    テキストエリア
    ---------------------------------------*/
    
    .msr_textarea_03 {
      padding-bottom: 10px;
      width: 460px;
    }
    .msr_textarea_03 label {
      display: block;
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_textarea_03 textarea {
      border: 1px solid #D7D7D7;
      box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -o-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -ms-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      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_03{
      margin:0 0 10px;
    }
    .msr_sendbtn_03 input[type=submit] {
      background: #1B73BA url(/stylerecipe_img/arrow_white.png) no-repeat;
      background-position: 20px;
      border: none;
      border-radius: 2px;
      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;
      box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -o-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -ms-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.1);
      color: #fff;
      cursor: pointer;
      font-size: 14px;
      height: 50px;
      width: 180px;
    }
    .msr_sendbtn_03 input[type=submit]:hover {
      opacity: 0.6;
    }
    .msr_sendbtn_03 input[disabled=disabled] {
      background: #B4B4B4 url(/stylerecipe_img/arrow_gray.png) no-repeat;
      background-position: 20px;
      color: #7E7E7E;
      cursor: default;
    }
    .msr_sendbtn_03 input[disabled=disabled]:hover {
      opacity: 1;
    }

検証済みブラウザ

  • FF
  • chrome
  • Safari

画像へのパスは任意のものに書き換えてください!
使用している画像はこちら

フラットなフォーム

  • RESULT
  • HTML
  • CSS
  • Radio_button

    Chack_box

    Pulldown

    file

  • コピー
    <form>
      <div class="msr_text_02">
        <label>Text</label>
        <input type="text" />
      </div>
      <div class="msr_radio_02">
        <p>Radio_button</p>
        <input type="radio" name="msr_radio_tye01" id="msr_02_radio01" />
        <label for="msr_02_radio01">radio1</label>
        <input type="radio" name="msr_radio_tye01" id="msr_02_radio02" />
        <label for="msr_02_radio02">radio2</label>
      </div>
      <div class="msr_chack_02">
        <p>Chack_box</p>
        <input type="checkbox" name="msr_check_tye01" id="msr_02_chack01" />
        <label for="msr_02_chack01">checkbox1</label>
        <input type="checkbox" name="msr_check_tye01" id="msr_02_chack02" />
        <label for="msr_02_chack02">checkbox2</label>
        <input type="checkbox" name="msr_check_tye01" id="msr_02_chack03" />
        <label for="msr_02_chack03">checkbox3</label>
      </div>
      <div class="msr_pulldown_02">
        <p>Pulldown</p>
        <select name="msr_02_pulldown01">
          <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>
      </div>
      <div class="msr_file_02">
        <p>file</p>
        <div class="msr_filebox_02">
          <label for="file_photo">画像を選択してください</label>
          <input type="file" id="file_photo">
        </div>
      </div>
      <div class="msr_textarea_02">
        <label>Textarea</label>
        <textarea></textarea>
      </div>
      <p class="msr_sendbtn_02">
        <input type="submit" value="Send">
      </p>
      <p class="msr_sendbtn_02">
        <input type="submit" value="Send" disabled="disabled">
      </p>
    </form>
  • コピー
    /*--------------------------------------
    テキスト
    ---------------------------------------*/
    
    .msr_text_02 {
      padding-bottom: 20px;
      width: 460px;
    }
    .msr_text_02  label {
      display: block;
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_text_02 input[type=text] {
      border: 1px solid #1B73BA;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      color: #333;
      font-size: 13px;
      padding: 10px;
      height: 40px;
      width: 460px;
    }
    
    /*--------------------------------------
    ラジオボタン
    ---------------------------------------*/
    
    .msr_radio_02 {
      padding-bottom: 20px;
    }
    .msr_radio_02 p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_radio_02 input[type=radio] {
      display: none;
      margin: 0;
    }
    .msr_radio_02 input[type=radio] + label {
      cursor: pointer;
      display: inline-block;
      font-size: 13px;
      line-height: 1.5px;
      margin-right: 12px;
      padding: 0 0 3px 24px;
      position: relative;
    }
    .msr_radio_02 input[type=radio] + label::before {
      border: 1px solid #1B73BA;
      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: 13px;
      width: 13px;
    }
    .msr_radio_02 input[type=radio]:checked + label::after {
      background: #1B73BA;
      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: 3px;
      top: 0px;
      height: 7px;
      width: 7px;
    }
    
    /*--------------------------------------
    チェックボックス
    ---------------------------------------*/
    
    .msr_chack_02 {
      padding-bottom: 20px;
    }
    .msr_chack_02 p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_chack_02 input[type=checkbox] {
      display: none;
      margin: 0;
    }
    .msr_chack_02 input[type=checkbox] + label {
      cursor: pointer;
      display: inline-block;
      font-size: 13px;
      line-height: 1.5px;
      margin-right: 12px;
      padding: 0 0 0 24px;
      position: relative;
    }
    .msr_chack_02 input[type=checkbox] + label::before {
      background: #1B73BA;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      content: "";
      display: block;
      margin-top: -9px;
      position: absolute;
      left: 0;
      top: 50%;
      height: 14px;
      width: 14px;
    }
    .msr_chack_02 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_02 input[type=checkbox]:checked + label::after {
      border-bottom: 2px solid #fff;
      border-left: 2px solid #fff;
      left: 3px;
      margin-top: -7px;
      transform: rotate(-45deg);
      -webkit-transform: rotate(-45deg);
      height: 6px;
      width: 9px;
    }
    
    /*--------------------------------------
    プルダウン
    ---------------------------------------*/
    
    .msr_pulldown_02 {
      padding-bottom: 20px;
      position: relative;
      width: 230px;
    }
    .msr_pulldown_02 p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_pulldown_02 select {
      appearance: none;
      -moz-appearance: none;
      -webkit-appearance: none;
      background: url(/stylerecipe_img/msr02_pulldown_btn01.png) no-repeat right;
      border-top: 1px solid #1B73BA;
      border-bottom: 1px solid #1B73BA;
      border-left: 1px solid #1B73BA;
      border-right: none;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      cursor: pointer;
      color: #333;
      text-indent: .01px;
      text-overflow: "";
      padding: 10px;
      height: 40px;
      width: 230px;
    }
    
    /*--------------------------------------
    ファイル選択
    ---------------------------------------*/
    
    .msr_file_02 {
      padding-bottom: 20px;
      width: 460px;
    }
    .msr_file_02>p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_filebox_02 {
      position: relative;
    }
    .msr_filebox_02 input[type=file] {
      display: none;
    }
    .msr_filebox_02 label {
      border: 1px solid #1B73BA;
      cursor: pointer;
      font-size: 14px;
      display: block;
      position: relative;
      padding: 10px;
      height: 20px;
      width: 460px;
    }
    .msr_filebox_02 label:before {
      background: #1B73BA;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      content: "Browse...";
      color: #fff;
      display: inline-block;
      font-size: 14px;
      text-align: center;
      padding-top: 10px;
      position: absolute;
      right: 0;
      top: 0;
      height: 40px;
      width: 99px;
    }
    
    /*--------------------------------------
    テキストエリア
    ---------------------------------------*/
    
    .msr_textarea_02 {
      padding-bottom: 10px;
      width: 460px;
    }
    .msr_textarea_02 label {
      display: block;
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_textarea_02 textarea {
      border: 1px solid #1B73BA;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      color: #333;
      font-size: 13px;
      padding: 10px;
      height: 210px;
      width: 460px;
    }
    
    /*--------------------------------------
    送信ボタン
    ---------------------------------------*/
    .msr_sendbtn_02{
      margin:0 0 10px;
    }
    .msr_sendbtn_02 input[type=submit] {
      background: url(/stylerecipe_img/arrow_blue02.png) no-repeat;
      background-position: 10px;
      border: 2px solid #1B73BA;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      color: #1B73BA;
      cursor: pointer;
      font-size: 14px;
      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: 40px;
      width: 150px;
    }
    .msr_sendbtn_02 input[type=submit]:hover {
      opacity: 0.6;
    }
    .msr_sendbtn_02 input[disabled=disabled] {
      background: #B4B4B4 url(/stylerecipe_img/arrow_gray02.png) no-repeat;
      background-position: 10px;
      border: 2px solid #7E7E7E;
      color: #7E7E7E;
      cursor: default;
    }
    .msr_sendbtn_02 input[disabled=disabled]:hover {
      opacity: 1;
    }

検証済みブラウザ

  • FF
  • chrome
  • Safari

画像へのパスは任意のものに書き換えてください!
使用している画像はこちら

無難なフォーム

  • RESULT
  • HTML
  • CSS
  • Radio_button

    Chack_box

    Pulldown

    file

  • コピー
    <form>
      <div class="msr_text_01">
        <label>Text</label>
        <input type="text" />
      </div>
      <div class="msr_radio_01">
        <p>Radio_button</p>
        <input type="radio" name="msr_radio_tye01" id="msr_01_radio01" />
        <label for="msr_01_radio01">radio1</label>
        <input type="radio" name="msr_radio_tye01" id="msr_01_radio02" />
        <label for="msr_01_radio02">radio2</label>
      </div>
      <div class="msr_chack_01">
        <p>Chack_box</p>
        <input type="checkbox" name="msr_check_tye01" id="msr_01_chack01" />
        <label for="msr_01_chack01">checkbox1</label>
        <input type="checkbox" name="msr_check_tye01" id="msr_01_chack02" />
        <label for="msr_01_chack02">checkbox2</label>
        <input type="checkbox" name="msr_check_tye01" id="msr_01_chack03" />
        <label for="msr_01_chack03">checkbox3</label>
      </div>
      <div class="msr_pulldown_01">
        <p>Pulldown</p>
        <select name="msr_01_pulldown01">
          <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>
      </div>
      <div class="msr_file_01">
        <p>file</p>
        <div class="msr_filebox_01">
          <label for="file_photo"> 画像を選択してください</label>
          <input type="file" id="file_photo">
        </div>
      </div>
      <div class="msr_textarea_01">
        <label>Textarea</label>
        <textarea></textarea>
      </div>
      <p class="msr_sendbtn_01">
        <input type="submit" value="Send">
      </p>
      <p class="msr_sendbtn_01">
        <input type="submit" value="Send" disabled="disabled">
      </p>
    </form>
    
  • コピー
    /*--------------------------------------
    テキスト
    ---------------------------------------*/
    
    .msr_text_01 {
      padding-bottom: 20px;
      width: 460px;
    }
    .msr_text_01 label {
      display: block;
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_text_01 input[type=text] {
      border: 1px solid #AAAAAA;
      box-sizing: border-box;
      box-shadow: 1px 1px 1px 1px #E1E1E1 inset;
      -moz-box-shadow: 1px 1px 1px 1px #E1E1E1 inset;
      -webkit-box-shadow: 1px 1px 1px 1px #E1E1E1 inset;
      font-size: 13px;
      height: 25px;
      padding-left: 8px;
      width: 460px;
    }
    
    /*--------------------------------------
    ラジオボタン
    ---------------------------------------*/
    
    .msr_radio_01 {
      padding-bottom: 20px;
    }
    .msr_radio_01 p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_radio_01 input[type=radio] {
      display: none;
      margin: 0;
    }
    .msr_radio_01 input[type=radio] + label {
      cursor: pointer;
      display: inline-block;
      font-size: 13px;
      line-height: 1.5px;
      margin-right: 12px;
      padding: 0 0 3px 24px;
      position: relative;
      vertical-align: middle;
    }
    .msr_radio_01 input[type=radio] + label::before {
      background: linear-gradient(#FEFEFE, #F3F5F5);
      background: -o-linear-gradient(#FEFEFE, #F3F5F5);
      background: -ms-linear-gradient(#FEFEFE, #F3F5F5);
      background: -moz-linear-gradient(#FEFEFE, #F3F5F5);
      background: -webkit-linear-gradient(#FEFEFE, #F3F5F5);
      background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #F3F5F5), color-stop(0.00, #FEFEFE));
      border: 1px solid #AAAAAA;
      border-radius: 50%;
      box-shadow: 0px 0px 1px 1px #E1E1E1;
      -moz-box-shadow: 0px 0px 1px 1px #E1E1E1;
      -webkit-box-shadow: 0px 0px 1px 1px #E1E1E1;
      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: 13px;
      width: 13px;
    }
    .msr_radio_01 input[type=radio]:checked + label::after {
      background: linear-gradient(#1F85D8, #17619C);
      background: -o-linear-gradient(#1F85D8, #17619C);
      background: -ms-linear-gradient(#1F85D8, #17619C);
      background: -moz-linear-gradient(#1F85D8, #17619C);
      background: -webkit-linear-gradient(#1F85D8, #17619C);
      background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #17619C), color-stop(0.00, #1F85D8));
      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: 3px;
      top: 0px;
      height: 7px;
      width: 7px;
    }
    
    /*--------------------------------------
    チェックボックス
    ---------------------------------------*/
    
    .msr_chack_01 {
      padding-bottom: 20px;
    }
    .msr_chack_01 p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_chack_01 input[type=checkbox] {
      display: none;
      margin: 0;
    }
    .msr_chack_01 input[type=checkbox] + label {
      cursor: pointer;
      display: inline-block;
      font-size: 13px;
      line-height: 1.5px;
      margin-right: 12px;
      padding: 0 0 0 24px;
      position: relative;
    }
    .msr_chack_01 input[type=checkbox] + label::before {
      background: linear-gradient(#FEFEFE, #F3F5F5);
      background: -o-linear-gradient(#FEFEFE, #F3F5F5);
      background: -ms-linear-gradient(#FEFEFE, #F3F5F5);
      background: -moz-linear-gradient(#FEFEFE, #F3F5F5);
      background: -webkit-linear-gradient(#FEFEFE, #F3F5F5);
      background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #F3F5F5), color-stop(0.00, #FEFEFE));
      border: 1px solid #AAAAAA;
      border-radius: 2px;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      box-shadow: 0px 0px 1px 1px #E1E1E1;
      -webkit-box-shadow: 0px 0px 1px 1px #E1E1E1;
      -moz-box-shadow: 0px 0px 1px 1px #E1E1E1;
      content: "";
      display: block;
      margin-top: -9px;
      position: absolute;
      left: 0;
      top: 50%;
      height: 14px;
      width: 14px;
    }
    .msr_chack_01 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_01 input[type=checkbox]:checked + label::after {
      left: 3px;
      margin-top: -7px;
      border-bottom: 2px solid #1B73BA;
      border-left: 2px solid #1B73BA;
      transform: rotate(-45deg);
      -webkit-transform: rotate(-45deg);
      height: 6px;
      width: 9px;
    }
    
    /*--------------------------------------
    プルダウン
    ---------------------------------------*/
    
    .msr_pulldown_01 {
      padding-bottom: 20px;
      position: relative;
      width: 160px;
    }
    .msr_pulldown_01 label {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_pulldown_01 select {
      appearance: none;
      -moz-appearance: none;
      -webkit-appearance: none;
      background: url(/stylerecipe_img/msr01_pulldown_btn01.png) no-repeat right;
      border: 1px solid #AAAAAA;
      box-shadow: 1px 1px 1px 1px #E1E1E1 inset;
      -moz-box-shadow: 1px 1px 1px 1px #E1E1E1 inset;
      -webkit-box-shadow: 1px 1px 1px 1px #E1E1E1 inset;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      cursor: pointer;
      text-indent: .01px;
      text-overflow: "";
      height: 25px;
      padding-left: 8px;
      width: 160px;
    }
    
    /*--------------------------------------
    ファイル選択
    ---------------------------------------*/
    
    .msr_file_01 {
      padding-bottom: 20px;
      width: 460px;
    }
    .msr_file_01>p {
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_filebox_01 {
      position: relative;
    }
    .msr_filebox_01 input[type=file] {
      display: none;
    }
    .msr_filebox_01 label {
      border: 1px solid #AAAAAA;
      box-shadow: 1px 1px 1px 1px #E1E1E1 inset;
      -moz-box-shadow: 1px 1px 1px 1px #E1E1E1 inset;
      -webkit-box-shadow: 1px 1px 1px 1px #E1E1E1 inset;
      cursor: pointer;
      font-size: 14px;
      display: block;
      position: relative;
      padding: 3px 0 0 8px;
      height: 22px;
      width: 400px;
      vertical-align: middle;
    }
    .msr_filebox_01 label:before {
      background: url(/stylerecipe_img/msr01_file_btn01.png) no-repeat;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      content: "Browse...";
      display: inline-block;
      font-size: 14px;
      padding-top: 3px;
      text-align: center;
      position: absolute;
      right: 0;
      top: 0;
      height: 25px;
      width: 99px;
    }
    
    /*--------------------------------------
    テキストエリア
    ---------------------------------------*/
    
    .msr_textarea_01 {
      padding-bottom: 10px;
      width: 460px;
    }
    .msr_textarea_01 label {
      display: block;
      font-size: 14px;
      padding-bottom: 5px;
    }
    .msr_textarea_01 textarea {
      border: 1px solid #AAAAAA;
      box-shadow: 1px 1px 1px 1px #E1E1E1 inset;
      -moz-box-shadow: 1px 1px 1px 1px #E1E1E1 inset;
      -webkit-box-shadow: 1px 1px 1px 1px #E1E1E1 inset;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      font-size: 13px;
      height: 210px;
      width: 460px;
      padding: 8px;
    }
    
    /*--------------------------------------
    送信ボタン
    ---------------------------------------*/
    .msr_sendbtn_01{
      margin:0 0 10px;
    }
    .msr_sendbtn_01 input[type=submit] {
      background: linear-gradient(#FEFEFE, #F3F5F5);
      background: -o-linear-gradient(#FEFEFE, #F3F5F5);
      background: -ms-linear-gradient(#FEFEFE, #F3F5F5);
      background: -moz-linear-gradient(#FEFEFE, #F3F5F5);
      background: -webkit-linear-gradient(#FEFEFE, #F3F5F5);
      background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #F3F5F5), color-stop(0.00, #FEFEFE));
      background: url(/stylerecipe_img/arrow_blue.png) no-repeat;
      background-position: 10px;
      border: 1px solid #AAAAAA;
      color: #333333;
      cursor: pointer;
      font-size: 14px;
      font-weight: bold;
      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: 140px;
    }
    .msr_sendbtn_01 input[type=submit]:hover {
      opacity: 0.6;
    }
    .msr_sendbtn_01 input[disabled=disabled] {
      background: url(/stylerecipe_img/arrow_gray.png) no-repeat;
      background-position: 10px;
      color: #999999;
      cursor: default;
    }
    .msr_sendbtn_01 input[disabled=disabled]:hover {
      opacity: 1;
    }

検証済みブラウザ

  • FF
  • chrome
  • Safari

画像へのパスは任意のものに書き換えてください!
使用している画像はこちら

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