最近几年来,地理信息系统无论是在理论上还是应用上都处在一个飞速发展的阶段。 GIS被应用于多个领域的建模和决策支持,如城市管理、区划、环境整治等等,地理信息成为信息时代重要的组成部分之一; “数字地球”概念的提出,更进一步推动了作为其技术支撑的GIS的发展。 与此同时,一些学者致力于相关的理论研究,如空间感知、空间数据误差、空间关系的形式化等等。 这恰好说明了地理信息系统作为应用技术和学科的两个方面,并且这两个方面构成了相互促进的发展过程。
8.5.1. CSS3 fillet ¶
Use CSS3 border-radius attribute, you can fillet any element.
8.5.2. Browser support ¶
The number in the table represents the version number of the first browser that supports the property.
The number before-webkit- or-moz- indicates that the first version of the prefix is supported.
Attribute | |||||
|---|---|---|---|---|---|
Border-radius | 9.0 | 5.0 4.0-webkit- | 4.03.0-moz- | 5.03.1-webkit- | 10.5 |
8.5.3. CSS3 border-radius attribute ¶
Use CSS3 border-radius attribute, you can fillet any element.
Here are three examples:
Specify the element fillet of the background color:
Round corners!
Specify the element fillet of the border:
Round corners!
Specify the element fillet of the background picture:
Round corners!
The code is as follows:
Example
#rcorners1{ border-radius:25px; background:#8AC007; padding:20px; width:200px; height:150px; } #rcorners2{ border-radius:25px; border:2px solid #8AC007; padding:20px; width:200px; height:150px; } #rcorners3{ border-radius:25px; background:url(paper.gif); background-position:left top; background-repeat:repeat; padding:20px; width:200px; height:150px; } 8.5.4. CSS3 border-radius-specify each fillet ¶
If you’re here, border-radius property, then four fillets will be generated.
However, if you want to specify each of the four corners, you can use the following rules:
Four values: the first value is the upper left corner, the second value is the upper right corner, the third value is the lower right corner, and the fourth value is the lower left corner.
Three values: the first value is the upper left corner, the second value is the upper right corner and the lower left corner, and the third value is the lower right corner
Two values: the first value is the upper left corner and lower right corner, and the second value is the upper right corner and lower left corner
One value: four fillets have the same value
Here are three examples:
Four values-border-radius: 15px 50px 30px 5px:
Three values-border-radius: 15px 50px 30px:
Two values-border-radius: 15px 50px:
The following is the source code:
Example
#rcorners4{ border-radius:15px 50px 30px 5px; background:#8AC007; padding:20px; width:200px; height:150px; } #rcorners5{ border-radius:15px 50px 30px; background:#8AC007; padding:20px; width:200px; height:150px; } #rcorners6{ border-radius:15px 50px; background:#8AC007; padding:20px; width:200px; height:150px; } You can also create elliptical corners:
Example
#rcorners7{ border-radius:50px/15px; background:#8AC007; padding:20px; width:200px; height:150px; } #rcorners8{ border-radius:15px/50px; background:#8AC007; padding:20px; width:200px; height:150px; } #rcorners9{ border-radius:50%; background:#8AC007; padding:20px; width:200px; height:150px; } 8.5.5. CSS3 fillet attribute ¶
Attribute | Description |
|---|---|
Border-radius | All four corners border- - -abbreviation for radius attribute |
Border-top-left-radius | Defines the radians of the upper left corner |
Border-top-right-radius | Defines the Radian of the upper right corner |
Border-bottom-right-radius | Defines the Radian of the lower right corner |
Border-bottom-left-radius | Defines the radians of the lower left corner |