最近几年来,地理信息系统无论是在理论上还是应用上都处在一个飞速发展的阶段。 GIS被应用于多个领域的建模和决策支持,如城市管理、区划、环境整治等等,地理信息成为信息时代重要的组成部分之一; “数字地球”概念的提出,更进一步推动了作为其技术支撑的GIS的发展。 与此同时,一些学者致力于相关的理论研究,如空间感知、空间数据误差、空间关系的形式化等等。 这恰好说明了地理信息系统作为应用技术和学科的两个方面,并且这两个方面构成了相互促进的发展过程。
8.4.1. CSS3 border ¶
With CSS3, you can create rounded borders, add shadow boxes, and act as a border image without using a design program such as Photoshop.
In this chapter, you will learn about the following border properties:
Border-radius
Box-shadow
Border-image
8.4.2. CSS3 fillet ¶
Adding rounded corners to CSS2 is tricky. We have to use different images in every corner.
In CSS3, it is easy to create fillets.
In CSS3 border-radius properties are used to create fillets:
This is a rounded border! Add a fillet element to div:Example ¶
div { border:2px solid; border-radius:25px; }
8.4.3. CSS3 box shadow ¶
In CSS3 box-shadow property is used to add shadows:
Example
In div add in box-shadow attribute
div { box-shadow: 10px 10px 5px #888888; } 8.4.4. CSS3 border picture ¶
With CSS3 border-image property, you can use the image to create a border:
border-image property allows you to specify a picture as a border! The original image used to create the border above:
In div use the picture to create a border in:
Create a frame using a picture in div
Example ¶
div { border-image:url(border.png) 30 30 round; -webkit-border-image:url(border.png) 30 30 round; /\* Safari 5 and older \*/ -o-border-image:url(border.png) 30 30 round; /\* Opera \*/ }
8.4.5. New Border Properties ¶
Attribute | Description | CSS |
|---|---|---|
Border-image | Sets shorthand properties for all border images. | 3 |
Border-radius | One is used to set all four borders; shorthand properties of the radius attribute | 3 |
Box-shadow | Shadow attached to one or more drop-down boxes | 3 |