@ Meda media query, @ meda MediaDefinition and use
With @ media query, you can define different styles for different media types.
@ Media can set different styles for different screen sizes, especially if you need to set a responsive page, @ media is very useful.
When you reset the browser size, the page will be re-rendered based on the browser width and height.Browser support
The number in the table indicates the version number of the first browser that supports the @ media rule.
Rule
;Projection, submitted to the projector;Aural, loudspeaker;Braille, submitted to Braille tactile sensing device;TTY, telex (using fixed fonts);TV, TV;All, output devices.An external style sheet is ideal when a style is applied to many pages. Web makers use an external style sheet to change the look of the entire site and simply change a file. Similarly, most browsers save an external style sheet in a buffer
You can use the Media property to specify the style that is used for different media when you experience the effects that appear on the screen in your project and when you print them differently.Media Property Value:
Value
Describe
Screen
computer screen display (default)
Tty
Telex typewriters and similar media using a wide character grid
Tv
TV type equipment (low resolution, limited scrolling capability)
P
(relative URL). This property is required. Type= "Text/css"This property is used to declare the data type of the linked document. When a CSS style sheet is linked, only the value of TEXT/CSS is allowed. Other stylesheet languages need to write different values (for example, text/xsl). This property is required. Media= "..."Using this property, you can declare that a style sheet applies only to certain devices. The default value is all, which means that the style document will be used on all dev
. Value range:
· Screen (default): Output to computer screens
· Print: Output to printer
· TV: Output to TV
· Projection: Output to projector
· Aural: Output to Speaker
· Braille: Output to Braille tactile sensing device
· Tty: Output to telex typewriter
· All: output to all devices above
If you want to output to multiple media, you can separate the values table with commas.
The
: Output to TV· Projection: Output to projector· Aural: Output to Speakers· Braille: Output to Braille tactile sensing devices· Tty: Output to Fax typewriter· All: output to all devices aboveIf you want to output to multiple media, you can separate the values table with commas.The Rel property indicates how the style sheet will be combined with the HTML document. Value range:· Stylesheet: Specify an externa
printer;Projection, submitted to the projector;Aural, loudspeaker;Braille, submitted to Braille tactile sensing device;TTY, telex (using fixed fonts);TV, TV;All, output devices.An external style sheet is ideal when a style is applied to many pages. Web makers use an external style sheet to change the look of the entire site and simply change a file. Similarly, most browsers save an external style sheet in
In the previous example we talked about a lot of devices, such as flashlights, relays, and two encodings: Morse code and Braille Braille, which are very much connected to our well-known binary numbers.
Binary numbers we already know, and here are a few examples:
1. Determine the quality of the film. We pulled the film apart and found 12 squares, made of silver and black. Silver is a conductor, can conduct e
a Web page that uses a style sheet. Value range:
· Screen (default): Output to computer screens
· Print: Output to printer
· TV: Output to TV
· Projection: Output to projector
· Aural: Output to Speakers
· Braille: Output to Braille tactile sensing devices
· Tty: Output to Fax typewriter
· All: output to all devices above
If you want to output to multiple media, you can separate the values table w
· Projection: Output to projector
· Aural: Output to Speakers
· Braille: Output to Braille tactile sensing devices
· Tty: Output to Fax typewriter
· All: output to all devices above
If you want to output to multiple media, you can separate the values table with commas.
The Rel property indicates how the style sheet will be combined with the HTML document. Value range:
· Stylesheet: Specify an external styl
reduce the frequency of human paging, one obvious reason is: you do is to improve efficiency. A small number of pages behind the page is an efficient process. The simplest and most straightforward way is to make the candidate word (word) appear much more in the selection box. But also not too much, the dense arrangement will be disorderly people's eyes, too little, obviously in violation of the "lower page frequency" purpose. The solution is not "to achieve the balance between the two", but the
reduce the frequency of human paging, one obvious reason is: you do is to improve efficiency. A small number of pages behind the page is an efficient process. The simplest and most straightforward way is to make the candidate word (word) appear much more in the selection box. But also not too much, the dense arrangement will be disorderly people's eyes, too little, obviously in violation of the "lower page frequency" purpose. The solution is not "to achieve the balance between the two", but the
EditI Enter the insert mode, the new character is inserted before the cursor a into the edit mode, the new character inserted after the cursor C modified d Delete p placed, you can delete the contents of D, placed behind the cursor y copy r Replace, Unlike C, where you do not have to go into edit mode to replace S substitution, and C is different, you can only modify one character instead of the whole word X and D is different, you can delete only one character instead of the whole word
: Create three folders named Number 1, 2, 3.@echo offFOR/L%%i in (1,1,3) do MD%%iExit>nulThe results of the run will create three digitally named folders under the current directory.Four,/F parameters--slicing stringsdelims= symbol Set delimiterFormat:for/f "delims= symbol set"%%i In (COMMAND1) do Command2Usage:Summary: Omit the delimiter and slice the string.1) define the delimiter with the punctuation in the text. Separators are usually the space ba
, Japanese, and other hieroglyphics, full-angle characters are arranged neatly.To arrange the characters neatly, the full-angle format is also provided for English and other Latin characters and punctuation.II. Differences between fullwidth and halfwidthWidth and width are mainly for punctuation marks. Width and width occupy two bytes, and width occupies one byte. Both the half-width and full-width Chinese characters occupy two bytes.III. Use of fullw
"method of 5.3.2 Measurement", the title of the second section of chapter fifth is "Method of measurement".Note: The content of the same level of the column headings should be consistent, the next level of each level of the ordinal label method should be consistent, if the level is less than a number of parentheses ordinal.(iii) Serial numbers of figures, tables, formulas, formulae, etc. in the textThe text of the figure, table, formula, calculation and other serial numbers are sequentially num
unused controls and made a lot of effort to make it beautiful. secondly, I pay great attention to OO when writing code, and try to keep the code in each method up to 10 lines. I have done a lot of checks to prevent misoperations, and I have also played an event mechanism. as a result, I realized that I made a "product" instead of just a small tool that I used temporarily.Hands-on 1: the idea of implementing the font library is as follows:
1. First, I wrote a regular expression that matches Engl
Comma how to play? Many netizens reflect that the computer keyboard can not find "," the comma button, can not play out the comma. In fact, there is no comma icon in the ordinary standard keyboard, in the Chinese environment comma is by pressing the "key" above the "" button to achieve, want to play "," comma Input method must be in Chinese state.
Here is a detailed introduction when using different input method, comma how to play. Input method includes: Intelligent ABC, Sogou, Google Pinyin an
Yu change Guanqi": "The Shogun of the good material, the first Yan Fenghua need the head of the play." ”
Ming rebukes "Tan Yuan Daigo-Need head": "Cai Yong" arbitrary "in the Han Dynasty chapter of the style." The so-called need to head, cover the first one, as soon as 詔 decree, Chen Yu of the play with. Do not need the head, Shen Xiezhi played. ”
Segment number
Paragraph is a means of punctuation, not just as a Hong.
Specifically, the paragraph
changes, you can try to adjust.
A04: Opacity color label, used to set the opacity of the gradient, when the opacity is 100%, the color under the opacity is solid, and when the opacity is 0%, the opacity color is transparent, and when the opacity is 50%, the opacity color is translucent, and so on. The opacity Swatch can slide left or right, set the opacity gradient, or click between the two opacity colors to add a new opaque punctuation mark.
A05:
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.