- Foundation 簡介
- Foundation - 全域性樣式
- Foundation - Sass
- Foundation - JavaScript
- Foundation - JavaScript 實用程式
- Foundation - 媒體查詢
- Foundation - 網格
- Foundation - Flex 網格
- Foundation - 表單
- Foundation - 可見性類
- Foundation - 基本排版
- Foundation - 排版輔助工具
- Foundation - 基本控制元件
- Foundation - 導航
- Foundation - 容器
- Foundation - 媒體
- Foundation - 外掛
- Foundation SASS
- Foundation - Sass 函式
- Foundation - Sass Mixins
- Foundation 庫
- Foundation - Motion UI
- Foundation 實用資源
- Foundation - 快速指南
- Foundation - 實用資源
- Foundation - 討論
Foundation - 基本排版分隔符
說明
用於透過 <hr> 標記在部分之間進行分隔。
示例
以下示例演示了在 Foundation 中使用基本排版分隔符 -
<!doctype html>
<head>
<meta charset = "utf-8" />
<meta http-equiv = "x-ua-compatible" content = "ie = edge" />
<meta name = "viewport" content = "width = device-width, initial-scale = 1.0" />
<title>Base Typography Dividers</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/foundation-sites@6.5.1/dist/css/foundation.min.css" crossorigin="anonymous">
</head>
<body>
<h2>Base Typography Dividers Example</h2>
<section>
<h2>Foundation</h2>
<p>Foundation is a family of responsive front-end frameworks that make it easy
to design beautiful responsive websites.</p>
</section>
<hr>
<section>
<h2>Bootstrap</h2>
<p>Bootstrap is a sleek, intuitive, and powerful, mobile first front-end
framework for faster and easier web development.</p>
</section>
</body>
</html>
輸出
讓我們執行以下步驟,瞭解上述給定程式碼是如何工作的 -
將上述給定的 html 編碼儲存為 dividers.html 檔案。
在瀏覽器中開啟此 HTML 檔案,顯示如下輸出。
foundation_base_typography.htm
廣告