8.9. Foundation reminder box

发布时间 :2025-10-25 12:24:36 UTC      

Foundation can easily create a reminder box:

image0

提醒框可以使用 .alert-box 类创建, 可以添加可选的类: .secondary , .success , .info , .warning .alert :

8.9.1. Example

<div data-alert class="alert-box">
  This is a default alert box.
</div>
<div data-alert class="alert-box secondary">
  This is a secondary alert box.
</div>
<div data-alert class="alert-box success">
  <strong>Success!</strong> This alert box indicates a successful or
positive action.
</div>
<div data-alert class="alert-box info">
  <strong>Info!</strong> This alert box indicates a neutral informative
change or action.
</div>
<div data-alert class="alert-box warning">
  <strong>Warning!</strong> This alert box indicates a warning that
might need attention.
</div>
<div data-alert class="alert-box alert">
  <strong>Alert!</strong> This alert box indicates a dangerous or
potentially negative action.
</div>

尝试一下 »

Note

The width of the reminder box is 100% of the container.

Fillet reminder box

.radius And .round Class is used to fillet the reminder box

8.9.2. Example

<div data-alert class="alert-box success radius">
  <strong>Success!</strong> Alert box with a radius.
</div>
<div data-alert class="alert-box info round">
  <strong>Info!</strong> Alert box that is rounded.
</div>

尝试一下 »

Close the reminder box

To close the reminder box, you can add to the connection or button element class="close" Class and initialize the Foundation JS:

8.9.3. Example

<div data-alert class="alert-box">
  This is a default alert box with closing functionality.
  <a href="#" class="close">&times;</a>
</div>
<script>
// Initialize Foundation JS For Functionality
$(document).ready(function() {
    $(document).foundation();
})
</script>

尝试一下 »

& times; (x) is a HTML character entity that represents an icon for a close button, rather than the letter “x”.

Principles, Technologies, and Methods of Geographic Information Systems  102

In recent years, Geographic Information Systems (GIS) have undergone rapid development in both theoretical and practical dimensions. GIS has been widely applied for modeling and decision-making support across various fields such as urban management, regional planning, and environmental remediation, establishing geographic information as a vital component of the information era. The introduction of the “Digital Earth” concept has further accelerated the advancement of GIS, which serves as its technical foundation. Concurrently, scholars have been dedicated to theoretical research in areas like spatial cognition, spatial data uncertainty, and the formalization of spatial relationships. This reflects the dual nature of GIS as both an applied technology and an academic discipline, with the two aspects forming a mutually reinforcing cycle of progress.