button

기본 버튼 스타일이 정의되어 있으며 취향에 맞게 추가,변경할 수 있습니다.

button default

Markup

<!-- 모두 동일한 형태의 버튼이 된다 -->
<button>버튼</button>
<input type="button" value="버튼" >
<p class="button">버튼</p>
<a href="#none" class="button">버튼</a>

결과화면 CSS code

  • 버튼

  • 버튼
  • 설명

    기본 버튼입니다.

    button color

    Markup

    <button class="color">버튼</button>
    <input type="button" value="버튼" class="color">
    <p class="button color">버튼</p>
    <a href="#none" class="button color">버튼</a>
    

    결과화면 CSS code

  • 버튼

  • 버튼
  • 설명

    버튼에 색을 줍니다.

    button gray

    Markup

    <button class="gray">버튼</button>
    <input type="button" value="버튼" class="gray">
    <p class="button gray">버튼</p>
    <a href="#none" class="button gray">버튼</a>
    

    결과화면 CSS code

  • 버튼

  • 버튼
  • 설명

    어두운색의 버튼을 만듭니다.

    button icon

    Markup

    <button class="icon">버튼<i class="axi axi-keyboard-arrow-right"></i></button>
    <input type="button" value="버튼" class="icon">
    <p class="button icon">버튼<i class="axi axi-keyboard-arrow-right"></i></p>
    <a href="#none" class="button icon">버튼<i class="axi axi-keyboard-arrow-right"></i></a>
    

    결과화면 CSS code

  • 버튼

  • 버튼
  • 설명

    아이콘과 텍스트 사이에 여백을 줍니다.

    button round

    Markup

    <button class="round">버튼</button>
    <input type="button" value="버튼" class="round">
    <p class="button round">버튼</p>
    <a href="#none" class="button round">버튼</a>
    

    결과화면 CSS code

  • 버튼

  • 버튼
  • 설명

    버튼에 둥근효과를 줍니다.

    button full

    Markup

    <button class="full">버튼</button>
    <input type="button" value="버튼" class="full">
    <p class="button full">버튼</p>
    <a href="#none" class="button full">버튼</a>
    

    결과화면 CSS code

  • 버튼

  • 버튼
  • 설명

    가로폭 100% 꽉찬 버튼을 만듭니다.

    button 조합 및 응용

    Markup

    <a class="button icon color">자세히보기 <i class="axi axi-angle-right"></i></a>
    <a class="button line" style="padding:0 10px"><i class="axi axi-plus"></i></a>
    <a class="button gray" style="padding:0 10px;background:#d1216b;border-radius:50%;width:42px;height:42px;line-height:40px"><i class="axi axi-cog"></i></a>
    <a class="button" style="border-style:dashed">download <i class="axi axi-inbox"></i></a>
    <a class="button gray round">등록</a>
    <a class="button line round"><i class="axi axi-heart"></i> 1408 </a>
    <a class="button round color">PLAY <i class="axi axi-play"></i></a>
    <a class="button round icon underline" style="border-radius:10px;">전체보기</a>
    <a class="button round" style="background:#3cc9b5;color:#fff;border:none">자세히보기</a>
    
    <a class="button full line">자세히보기</a>
    <a class="button full icon">동의합니다 <i class="axi axi-angle-right"></i></a>
    <a class="button full color" style="background:#02df59;border:1px solid #1ad564">로그인</a>