Document directory
Box Size
Border (Border)
Outline
Background)
Font
List Style
Border-radius (rounded corner radius)
One of the efficient CSS writing methods is to use shorthand. You can use abbreviations to make your CSS files smaller and easier to read. Understanding CSS attribute abbreviations is also one of the basic skills of front-end development engineers. This is an article I learned fro
public interface Itablemodel
Method
Pascal
public void UpdateData ()
Property
Pascal
public int length{...}
Event
Pascal
public event EventHandler Changed;
Private field
Camel
private string FieldName;
Non-private field
Pascal
public string FieldName;
enumeration value
Pascal
Filemode{append}
Parameters
Camel
public void UpdateData (string fieldName)
Core tip: use abbreviations to reduce the size of the CSS file and make it easier to read. This article mainly introduces the main abbreviations of CSS rules, including color, box size, border, background, fonts, lists and other aspects of the content.
Using abbreviations reduces the size of the CSS file and makes it easier to read. This article mainly introduce
First, two basic principles of nomenclature1, the meaning is clear, not easy to confuse;2, do not and other modules, the System API namespace conflict.Ii. general rules of nomenclature1. In all nomenclature, the standard English words or abbreviations shall be used; no phonetic or phonetic abbreviations shall be used unless the name describes the textSpecific content (such as Half-width, Full-width, initial
the application that uses the table. In the naming process, the abbreviations can be pieced together according to semantics. Note that because Orcle unifies the field names into either uppercase or lowercase, the underscore is required.
Example:
Defined abbreviations for sales:sal sales;
Order:ord orders;
DETAIL:DTL details;
The sales order BOM is named: SAL_ORD_DTL;
2 If the name of a table or field has o
:
/* = Search Results = */. Search {Border: 1px solid # fff;Background: url (../images/icon.gif) no-repeat #333;}/* ===== Search end ===== */
Iii. Abbreviation of style attribute code
1. Abbreviations of different classes with the same attributes and attribute values:
For two different classes, but some of them are the same or even all of them are the same attributes and attribute values, the abbreviations
(4) CSS-assisted weight loss for webpage Acceleration The key indicator of web site availability is speed. More specifically, the speed at which a page can appear in a visitor's browser window. There are many factors that affect the speed, including the speed of the web server, the Internet Connection of visitors, and the size of files that must be downloaded by the browser. Although you cannot control the server and connection speed, you can control the file size on the web page of the websi
conflict with keywords in common programming languages.
Although CLS-compliant languages must provide methods to use keywords as common words, best practices do not require developers to understand how to implement them. For most programming languages, the language reference documentation provides a list of keywords used by the language. The following table provides links to reference documents for some common programming languages.
Language
Link
C #
C # reference
gesture to a "hand", replace "hand" with "Pointer", that is, "cursor: pointer ;"
Ii. annotation writing specifications
1. Line comment:
Directly after the property value, such:
. Search {Border: 1px solid # FFF;/* define the border of the search input box */Background: URL (../images/icon.gif) No-Report #333;/* define the background of the search box */}
2. comments for the entire segment:
Add comments at the beginning and end, for example:
/* = Search Results = */. Search {Border: 1px solid #
The key indicator of web site availability is speed. More specifically, the speed at which a page can appear in a visitor's browser window. There are many factors that affect the speed, including the speed of the web server, the Internet Connection of visitors, and the size of files that must be downloaded by the browser. Although you cannot control the server and connection speed, you can control the file size on the web page of the website.
To make websites faster, Web builders compress and o
attention to the class definitionAvoid abbreviations. Underline should also be avoided.
2.3 Interface
Pascal CasingIt is useful for defining all interfaces. The interface definition must start with the character "I. Similarly, abbreviations and underscores should be avoided in interface definitions.
2.4 Method
Pascal CasingIt is useful for defining all methods. Pascalcasing recommends that you use a verb o
absent, the default value is right (right). If bottom (bottom) is absent, the default value is top (top, in this example, the simplest is:
The following is a reference clip:. T4 {Padding: 3px 20px;}
(Of course, if padding is a value, it indicates that the top right bottom left is the same .)
The following is a reference clip:
In the above example, four lines of code in the lengthy section t1 are condensed into one line of introduction code, which is the advantage of CSS
; operator:P{click}+a{here}+{to continue}Generated:Label PropertiesLink[rel=prefetch title= "Hello World"]Generated:Abbreviations for formatting considerationsWhen you are familiar with Emmet's abbreviation syntax, you may want to use some formatting to generate more readable abbreviations. For example, use a space interval between an element and an operator:(Header > Ul.nav > Li*5) + footerHowever, this notation is incorrect because the space is an i
Control
The br label is now overused, when the label is used to p represent the paragraph. You should use a label when you represent a paragraph p . In the same way, there are many tags that should be used to define reliable text elements, such as quotations, abbreviations abbreviations, and computer code computer codes.
It's important to note that while browsers can implement these tags in a variety of wa
example, if the table name is a word, the alias takes the first 4 letters of the word; if the table name is two words, the first two letters of the two words are each named as the 4-letter-long alias.) If the name of the table consists of 3 words, one from the two words from the beginning and then another two letters from the last word, the result is a 4-letter alias, and so on.
For work tables, the table name can be prefixed with Work_ appended with the name of the application that uses the ta
entrusted units, development units and competent departments of the project;The relationship between the software system and other systems.
1.3 Definition: List the definitions and abbreviations of the special terms used in the document
1.4 References: may include:Approval of the project's approved plan of assignment, contract or superior authorityMaterials, specifications, etc. referenced in the documentList the author, title, number, publication da
:
/* = Search Results = */. Search {Border: 1px solid # fff;Background: url (../images/icon.gif) no-repeat #333;}/* ===== Search end ===== */
Iii. Abbreviation of style attribute code
1. Abbreviations of different classes with the same attributes and attribute values:
For two different classes, but some of them are the same or even all of them are the same attributes and attribute values, the abbreviations
DIV + CSS color border background and other styles-roucheng 1. Use css abbreviations
Using abbreviations can help reduce the size of your CSS file and make it easier to read. For the main rules of css abbreviations, see common css abbreviations syntax summary. The main rules of css
Start from scratch to learn the abbreviation of html (13) CSS code, which consumes less bandwidth and starts from scratch.I. Simplified Box Model Code
1 Simplified Box Model Code
Remember that when talking about the box model, the margin (margin), the padding (padding), and the border (border) are set in the clockwise direction: top, bottom, and left.
An example of the specific application in margin and padding is as follows:
Margin: 10px 15px 12px 14px;/* Set 10px to top, 15px to right, 12px to
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.