Sizing

优质
小牛编辑
130浏览
2023-12-01

描述 (Description)

按钮组的大小可以通过使用标准按钮来完成,例如.tinysmalllarge

例子 (Example)

以下示例演示如何在Foundation中size the button group

<html>
   <head>
      <title>Button Group Sizing</title>
      <link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/foundation/6.0.1/css/foundation.css">
   </head>
   <body>
      <div class = "small button-group">
         <a class = "button">Small Button</a>
         <a class = "button">Small Button</a>
         <a class = "button">Small Button</a>
      </div>
      <script src = "https://cdnjs.cloudflare.com/ajax/libs/foundation/6.0.1/js/vendor/jquery.min.js"></script>
      <script src = "https://cdnjs.cloudflare.com/ajax/libs/foundation/6.0.1/js/foundation.min.js"></script>
      <script>
         $(document).ready(function() {
            $(document).foundation();
         })
      </script>
   </body>
</html>