Sublime Text 3 Installation and useThis article is sublime Text full guide by Lucida (http://www.cnblogs.com/figure9/p/sublime-text-complete-guide.html) notes, and added some of their own organized content , thanks to the original author.1. DownloadCan be downloaded from official website HTTP://WWW.SUBLIMETEXT.COM/3.2. Install under Windows and use 2.1 installation1. Win7 64-bit system, you can download the Windows * bit to install.2. When installing,
-width semicolon, colon
Gungsuhche
43
Clear
1, Letter lowercase L and 1 2, full-width semicolon, colon and half-width semicolon, colon
Lucida Console
43
Clear
1, Letter o and number 0 2, full-width double quotes and half-width double quotes
Lucida Sans Typewriter
40
Clear
1, letter
" variables.less "; @import" Stuff.less ";2. In the variables.less file to define their own required variables, on the other hand can be overridden bootstrap preset variables;Override Bootstrap Variables@font-family-sans-serif: "Lucida Grande", "Lucida Sans Unicode", arial,sans-serif;@ Btn-default-border: #bbb, @brand-primary: #b02b2c, @link-color: #08c;//Override Font-awesome variables (path relative to P
above CodeThe style definition is:# Subnav {/* some styling */}# Subnav Li {/* some styling */}# Subnav A {/* some styling */}# Subnav. Sel {/* some styling */}# Subnav. Sel A {/* some styling */}Using a sub-selector can make your code and CSS more concise and easier to read.10. Do not quote the background image pathTo reduce the number of bytes, we recommend that you do not quote the path of the background image because the quotation marks are not required. For example:Background: URL ("images
*/}
You can use the following method to replace the above Code
The style definition is:
# Subnav {/* some styling */}# Subnav Li {/* some styling */}# Subnav A {/* some styling */}# Subnav. Sel {/* some styling */}# Subnav. Sel A {/* some styling */}
Using a sub-selector can make your code and CSS more concise and easier to read. 10. Do not quote the background image path
To reduce the number of bytes, we recommend that you do not quote the path of the background image because the qu
One or three types of style selectors
Property selector p {color:red;}
Class selector. p {color:red;}
ID selector #p {color:red;}
Second, transparent
Background:transparent; Prevent the definition background from being overwritten
Third, netscape4.x (ie/windows4.0 previous version) under the transparent background of the error understanding
Background:inhrit; The transparent background under netscape4.x will be interpreted as black and green
Four, font default selection:
Body {font-family: "
] + "_ child "). style. height = "0px ";}}@ Charset "UTF-8 ";/* Css definition */Body {Background: #5c90d9;/* background color of the entire webpage */}/*. Tit is the title style of each menu. list is the style of the menu item */. Tit,. list {width: 183px;/* width of the menu */} . Tit {/* Style of menu title */Height: 22px;Border: 1px solid # 2a4dab;/* border color */Border-bottom-style: none;/* No bottom border */Background: # 547DBE url (images/menu_head_bg.gif)
Modify font in cmd Command Line Mode: 1> in the DOS window, right-click [properties] font and color to set the font size and color;
2> the default font only supports dot matrix font and new, And the dot matrix font can only be 10*20 characters in size. The font size can be set for new;
Use other Fonts:(Note:Exercise caution when modifying the registry., Run regedit to open the Registry)
1> open item: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ console \ truetypefon
quotation marks, some browser errors may occur.
11. Group selectors)When some element types, classes, and IDs all have common attributes, you can use the group selector to avoid repeated definitions multiple times. This can save a lot of bytes.For example, to define the font, color, and margin of all titles, you can write as follows:
H1, H2, H3, H4, H5, H6 {Font-family: lucida Grande, lucida, Arial, Helvet
make your code and CSS more concise and easier to read.
10. Do not quote the background image pathTo reduce the number of bytes, we recommend that you do not quote the path of the background image because the quotation marks are not required. For example:Background: URL ("images/***. GIF") #333;Can be writtenBackground: URL (images/***. GIF) #333;If you add quotation marks, some browser errors may occur.
11. Group selectors)When some element types, classes, and IDs all have common attributes
marks are not required. For example: Program code Background: URL (images/***. GIF) #333;
It can be written as follows: Program code Background: URL (images/***. GIF) #333;
If you add quotation marks, some browser errors may occur.
11. Group selectors)
When some element types, classes, and IDs all have common attributes, you can use the group selector to avoid repeated definitions multiple times. This can save a lot of bytes.
For example, to define the font, color, and margin of all tit
;
Syntax: Border: width style color;
Background (backgrounds)The attributes of the background are as follows:
Background-color: # f00;Background-image: url(background.gif );Background-repeat: No-Repeat;Background-Attachment: fixed;Background-position: 0 0;It can be abbreviated as: Background: # f00 url(background.gif) No-repeat fixed 0 0;
The syntax is Background: Color Image repeat attachment position;
You can omit one or more attribute values. If this attribute value is omitted, the d
the DIV used by the device to store the report container.
Cssobject type
Default Value
Style :{
Fontfamily: '"lucida Grande", "lucida sans Unicode", verdana, Arial, Helvetica, sans-serif', // default font
Fontsize: '12px'
}
32. Type
The basic type of the chart.
String type
The default value is line.
Line indicates the line type.
Spline indicates the curve type
Area indicates Line Break Type
Areaspline in
Node chat program instance 05: index.html and style.css,nodestyle.css
Author: vousiu
Source: http://www.cnblogs.com/vousiu
For this example, refer to Node. js in Action by Mike Cantelon and others.
Index.html
Style.css
body { padding: 50px; font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;} a { color: #00B7FF;} #content { width: 800px; margin-left: auto; margin-right: auto;} #room { background-color: #ddd; margin-bottom: lem;} #m
whole page body. The Code is as follows:Example Source Code [www.52css.com] body {MARGIN: 0px;PADDING: 0px;BACKGROUND: url (../images/bg_logo.gif) # fefefefe no-repeat right bottom;FONT-FAMILY: 'lucida grande', 'lucida Sans Unicode ', '',' ', arial, verdana, sans-serif;COLOR: #666;FONT-SIZE: 12px;LINE-HEIGHT: 150% ;}The role of the above Code is described in detail in the previous day's tutorial. you shoul
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.