Css rendering (3) color and background, css rendering color background
The color application mainly consists of three parts: foreground color, background color, and transparency.
I. ForegroundColor
Color foreground
Value:
Initial Value: the value specified by the user agent.
Apply to: All elements
Inheritance: Yes
In general, the foreground is the text of the el
CSS background properties are used to define the background of HTML elements, so what are the CSS background properties? Like CSS background color properties, CSS image background properties are CSS background properties, this art
Background-size can set the size of the background picture, the value includes length and percent percentage. It also sets the extent of its image overlay based on the background Origin location Background-origin. So let's take a look at this background-size property.
FG, BG, Jobs, , CTRL + Z are all related to system tasks, although these commands are largely not needed now, but they are also usefulOne. is most often usedThis is used at the end of a command, you can put this command in the background to executeTwo. CTRL + ZYou can put a command that is executing in the foreground in the background and pauseThree. JobsSee how many commands are currently running in the b
FG, BG, Jobs, , CTRL + Z are all related to system tasks, although these commands are largely not needed now, but they are also usefulOne. is most often usedThis is used at the end of a command, you can put this command in the background to executeTwo. CTRL + ZYou can put a command that is executing in the foreground in the background and pauseThree. JobsSee how many commands are currently running in the b
Background-origin and Background-clip are the newly added attributes in CSS3, in fact one is the placement of the background image, and the other is the clipping of the background image.Background-origin and Background-clip have the same choice: Content-box,padding-box,borde
background-sizeYou can set the size of the background picture, and the value includes length and percent percentage. background-originIt also sets the extent of its image coverage based on the background Origin location. So let's take a look at this background-size property.
Details on background-size usage and background usage
Detailed description of background-size attribute usage:This attribute is used to control the size of the background image. The code example below describes the usage of this attribute in detail, hoping to help friends who need it.The
Background-clip and Background-origin are the two attributes associated with the element background introduced in CSS3, which have the same optional values, namely border, padding, content three, And both of these properties represent some kind of relationship between the element background and the element border, the
Where is the confusion?Background-clip and Background-origin are the two attributes associated with the element background introduced in CSS3, which have the same optional values, namely border, padding, content three, And both of these properties represent some kind of relationship between the element background and t
Where are puzzles?
Background-clip and background-origin are two attributes introduced in css3 related to the element background. They have the same optional values, namely, border, padding, and content, the two attributes indicate the relationship between the element background and the element border, the padding, And
1, background-clip syntax, value The CSS3 property Backround-clip is used primarily to determine the clipping area of the background (that is, how to control the element background display area).Background-clip:border-box | | Padding-box | | Content-box = = "Border-box: This value is the default value, the
Background background properties in CSS background:url (Background picture path) no-repeat;/* do not repeat default at top left */ background:url (background picture path) No-repeat center;/* do not repeat background picture middle display */ background:url (
The following is the program code
With CSS you can not only change the background of the entire page you can also control
The background of other elements, such as P,div. This section we
The nature of the discussion will be
Color: Colors of text
Background-color: Background color
First, At the end of a command, you can put this command in the background to execute, asWatch-n sh test.sh #每10s在后台执行一次test. Sh scriptTwo, CTRL + Z (the task is placed in the background and in a paused state)You can place a command that is being executed in the foreground in the background and be in a paused state.Iii. Jobs (see how many commands are currently
CSS settings text background color code you know what? Here is a detailed CSS implementation of the background color of a complete example, so that you can more easily understand the meaning of these properties is what it is, now let's look at it together
First, let's take a look at this code:
Background-color: Property sets the
Background Background PropertiesWe know that the element has a foreground color, which corresponds to the background colour, and by background we can add a solid color (background-color) and any number of background images (
Background-size do self-adapting background mapWhen we do the page layout often encounter this situation when I fixed an element of the size, when the element added to the background when the original size of the background image is very large, when I write the background im
Principle of background-position percentage, background-position
When you call code for others today, you can see a style:
background-position: 50% 0;background-size: 100% auto;
For background-size: 100% auto, the width of the background
C # Set the background of a Word document (solid color/gradient/image background ),
Word is an essential tool for document processing in our daily life, study, and work. Exquisite and beautiful documents can provide a visual aesthetic for reading. This article describes how to use the Free Spire. Doc for. NET (Community edition) component to set the document background
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.