Basic CSS principles
CSS or Cascading Style Sheets is a language used to describe how HTML elements should be displayed on a web page. For instance, CSS is often used to define common styling elements for a page or set of pages such as the font, background color, font size, link colors, and many other things related to the visual design of a web page:
<style>
html, body { height: 100%; width: 100%; margin: 0; padding: 0; }
#map{
padding:0;
border:solid 2px #94C7BA;
margin:5px;
}
#header {
border: solid 2px #94C7BA;
padding-top:5px;
padding-left:10px;
background-color:white;
color:#594735;
font-size:14pt;
text-align:left; font-weight:bold;
height:35px;
margin:5px;
overflow:hidden;
}
.roundedCorners{
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.shadow{
-webkit-box-shadow: 0px 4px 8px #adadad;
-moz-box-shadow: 0px 4px 8px #adadad;
-o-box-shadow: 0px 4px 8px #adadad; box-shadow: 0px 4px 8px #adadad;
}
</style>
推薦閱讀
- Learn ECMAScript(Second Edition)
- 深度實踐OpenStack:基于Python的OpenStack組件開發(fā)
- Mastering Zabbix(Second Edition)
- 算法零基礎一本通(Python版)
- Java面向對象思想與程序設計
- 深入淺出Spring Boot 2.x
- MySQL數(shù)據(jù)庫管理與開發(fā)實踐教程 (清華電腦學堂)
- Java軟件開發(fā)基礎
- Python編程與幾何圖形
- 劍指Java:核心原理與應用實踐
- Windows內核編程
- Orleans:構建高性能分布式Actor服務
- Scala編程實戰(zhàn)
- Learning iOS Security
- Backbone.js Testing