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>
推薦閱讀
- Web程序設(shè)計(jì)及應(yīng)用
- 玩轉(zhuǎn)Scratch少兒趣味編程
- Mastering NetBeans
- C# 7 and .NET Core Cookbook
- Getting Started with React
- GitLab Cookbook
- Neo4j Essentials
- HTML5 and CSS3 Transition,Transformation,and Animation
- Java EE 8 Application Development
- 0 bug:C/C++商用工程之道
- Clean Code in C#
- PrimeFaces Blueprints
- Everyday Data Structures
- HTML5+CSS3+JavaScript 從入門到項(xiàng)目實(shí)踐(超值版)
- Practical GIS