插入符号 Bootstrap 类


使用插入符号来表示下拉功能和方向。要获得此功能,请在 <span> 元素中使用插入符号类。

你可以尝试运行以下代码来实现插入符号 Bootstrap 类

范例

实际范例

<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap Example</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
   </head>
   <body>
      <p>Caret Example<span class = "caret"></span></p>
   </body>
</html>

更新于: 12-6-2020

2,000+ 浏览量

推动你的职业发展

通过完成本课程获得认证

立即开始
广告
© . All rights reserved.