8.39. Foundation CSS reference manual

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

8.39.1. Foundation default settin

Foundation uses browser default font size ( font-size:100% ). For browsers on most desktop devices, the font size defaults to 16px. For browsers on mobile devices, the default font size is 12px. The default font is "Helvetica Neue" , line-height defaults to 1.5 .

These settings apply to the <body> The element within the element.

In addition <p> The outer margin (margin-bottom) between the element and the bottom is 1.25rem, and the line-height is 1.6.

8.39.2. Text

The following HTML element, which is rendered in a separate style by Foundation, does not use the browser default style. Click “try” to view an online example.

element

Description

Online instance

< H1 >-< h6 >

H1-H6 title

尝试一下

< a >

Light blue link, move the mouse to the link will be underlined

尝试一下

< small >

Light gray subtitle text

尝试一下

< blockquote >

Reference content module

尝试一下

< strong >

Bold text

尝试一下

< em >

Italic

尝试一下

< abbr >

Specify the abbreviation of the word, the text of this element is dotted and underlined, and there is a prompt when the mouse moves up.

尝试一下

< kbd >

Receive keyboard input instructions:? CTRL + P

尝试一下

< hr >

Horizontal line

尝试一下

< code >

Code snippet

尝试一下

< ul >

Unordered list

尝试一下

< ol >

Ordered list

尝试一下

< dl >

Descriptive list

尝试一下

8.39.3. Text alignment

Use the CSS class to modify the alignment of the text:

. text-left

Left align text

尝试一下

. text-right

Align text to the right

尝试一下

. text-center

In the middle

尝试一下

. text-justify

Alignment at both ends

尝试一下

8.39.4. Alignment of screens of different sizes

Use the CSS class to modify the alignment of different-sized screens of text:

Class

Description

Example

Align left

.small-text-left

Align all sizes to the left of the screen

尝试一下

.small-only-text-left

Small screen left alignment (width less than 40em)

尝试一下

.medium-text-left

The width is larger than the 40.0625em size and the screen is left aligned.

尝试一下

.medium-only-text-left

The width is aligned to the left of the screen in 40.0625em to 64em sizes

尝试一下

.large-text-left

The width is larger than the 64.0625em size and the screen is left aligned.

尝试一下

.large-only-text-left

The width is aligned to the left of the screen in 64.0625em to 90em sizes

尝试一下

.xlarge-text-left

The width is larger than the 90.0625em size and the screen is left aligned.

尝试一下

.xlarge-only-text-left

The width is aligned to the left of the screen in 90.0625em to 120em sizes

尝试一下

.xxlarge-text-left

The width is larger than the 120em size and the screen is left aligned.

尝试一下

Align right

.small-text-right

Align all sizes to the right of the screen

尝试一下

.small-only-text-right

Small screen right alignment (width less than 40em)

尝试一下

.medium-text-right

The width is larger than the 40.0625em size and the screen is right-aligned.

尝试一下

.medium-only-text-right

The width is aligned to the right of the screen in 40.0625em to 64em sizes

尝试一下

.large-text-right

The width is larger than the 64.0625em size and the screen is right-aligned.

尝试一下

.large-only-text-right

The width is aligned to the right of the screen in 64.0625em to 90em sizes

尝试一下

.xlarge-text-right

The width is larger than the 90.0625em size and the screen is right-aligned.

尝试一下

.xlarge-only-text-right

The width is aligned to the right of the screen in 90.0625em to 120em sizes

尝试一下

.xxlarge-text-right

The width is larger than the 120em size and the screen is right-aligned.

尝试一下

Center alignment

.small-text-center

The screen of all dimensions is centered.

尝试一下

.small-only-text-center

Small screen center alignment (width less than 40em)

尝试一下

.medium-text-center

The width is larger than the 40.0625em size and the screen is centered.

尝试一下

.medium-only-text-center

The width is centered on the screen from 40.0625em to 64em.

尝试一下

.large-text-center

The width is larger than the 64.0625em size and the screen is centered.

尝试一下

.large-only-text-center

The width is centered on the screen from 64.0625em to 90em.

尝试一下

.xlarge-text-center

The width is larger than the 90.0625em size and the screen is centered.

尝试一下

.xlarge-only-text-center

The width is centered on the screen from 90.0625em to 120em.

尝试一下

.xxlarge-text-center

The width is larger than the 120em size and the screen is centered.

尝试一下

Alignment at both ends

.small-text-justify

The screens of all sizes are aligned at both ends

尝试一下

.small-only-text-justify

Small screen alignment at both ends (width less than 40em)

尝试一下

.medium-text-justify

The width is larger than the 40.0625em size and the two ends of the screen are aligned.

尝试一下

.medium-only-text-justify

The width is aligned at both ends of the 40.0625em to 64em size screen

尝试一下

.large-text-justify

The width is larger than the 64.0625em size and the two ends of the screen are aligned.

尝试一下

.large-only-text-justify

The width is aligned at both ends of the 64.0625em to 90em size screen

尝试一下

.xlarge-text-justify

The width is larger than the 90.0625em size and the two ends of the screen are aligned.

尝试一下

.xlarge-only-text-justify

The width is aligned at both ends of the 90.0625em to 120em size screen

尝试一下

.xxlarge-text-justify

The width is larger than the 120em size and the two ends of the screen are aligned.

尝试一下

8.39.5. Other

Class

Description

Example

.left

Element floats to the left

尝试一下

.right

Elements float to the right

尝试一下

.clearfix

Clear float-must be added to the parent element of the floating element

.hide

Hidden element (CSS?display: none)

尝试一下

. list-inline

Set all elements on the same line

尝试一下

.lead

Make the < p > element more prominent

尝试一下

.subheader

Set the light color < H1 >-< h6 > element

尝试一下

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.