8.34. Foundation Grid-medium Devic

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

In the last chapter, we introduced the use of small devices .small-* Class, with a grid ratio of 25% and 75%:

<div class="small-3 columns">....</div>
<div class="small-9 columns">....</div>

The recommended ratio for medium-sized devices is 50% Placement 50%.

提示: The screen size for medium-sized devices is defined in the 40.0625em To 64.0624em Between.

Used on medium-sized Devic .medium-* Class.

Now let’s add two columns to the medium-sized device:

<div class="small-3 medium-6 columns">....</div>
<div class="small-9 medium-6 columns">....</div>

以上实例设置了两个列,比例为 25% 和 75% (Foundation 是移动优先: 如果没有特别说明,在大型设备上会继承 .small 类的代码):

The proportion used on small devices is 25% and 75%. ( .small-3 And .small-9 ). But the proportion used on medium-sized devices is 50% Universe 50%. ( .medium-6 And .medium-6 ).

8.34.1. Example

<div class="row">
  <div class="small-3 medium-6 columns"
style="background-color:yellow;">
    <p>菜鸟教程</p>
  </div>
  <div class="small-9 medium-6 columns" style="background-color:pink;">
    <p>菜鸟教程</p>
  </div>
</div>

尝试一下 »

Note

注意: Make sure the columns add up to 12 columns!

Used only on medium-sized Devic

In the following example, we specify .medium-6 Class (not .small-* ). This indicates a ratio of 50% to 50% on medium or large equipment. However, it will stack horizontally (100% width) on small devices:

8.34.2. Example

<div class="row">
  <div class="medium-6 columns" style="background-color:yellow;">
    <p>菜鸟教程</p>
  </div>
  <div class="medium-6 columns" style="background-color:pink;">
    <p>菜鸟教程</p>
  </div>
</div>

尝试一下 »

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.