파운데이션 버튼


  번역 결과:

Foundation은 반응형 HTML, CSS 및 JavaScript 프레임워크를 개발하는 데 사용됩니다.

Foundation은 모든 장치에서 웹 애플리케이션을 구축하기 위한 사용하기 쉽고 강력하며 유연한 프레임워크입니다.

Foundation은 인기 있는 모바일 우선 프레임워크입니다.

파운데이션 버튼통사론

지침: Foundation은 6가지 버튼 스타일을 제공합니다. .button 클래스는 패딩이 포함된 파란색 버튼을 생성합니다. 다양한 색상의 버튼 유형은 .secondary, .success, .info, .warning 또는 .alert

입니다.

파운데이션 버튼예

<!DOCTYPE html>
<html>
<head>
  <title>Foundation 实例</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://cdn.bootcss.com/foundation/5.5.3/css/foundation.min.css">
  <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
  <script src="https://cdn.bootcss.com/foundation/5.5.3/js/foundation.min.js"></script>
  <script src="https://cdn.bootcss.com/foundation/5.5.3/js/vendor/modernizr.js"></script>
</head>
<body>

<div style="padding:20px;">
  <h2>按钮样式</h2>
  <button type="button" class="button">Default</button>
  <button type="button" class="button secondary">Secondary</button>
  <button type="button" class="button success">Success</button>
  <button type="button" class="button info">Info</button>
  <button type="button" class="button warning">Warning</button>
  <button type="button" class="button alert">Alert</button>
</div>

</body>
</html>

인스턴스 실행 »

온라인 인스턴스를 보려면 "인스턴스 실행" 버튼을 클릭하세요

인기 추천

비디오

Q&A