CSS
2, color and background properties
You don't want your page to be in a black-and-white world. Would it be better to add color to the text defined by the attribute?
Now let's talk about the color and background properties of the CSS. Let's
First, review the basics of Line-height:
Syntax: Line-height:normal | | | | Inherit
Description: Sets the height of the row in the element.
Value: Normal: Default row height, typically 1 to 1.2; Real number: Real value, scaling factor; Length:
Each element displayed on the page (including inline elements) can be viewed as a box (box model). Take a look at the screenshot in the Chrome Devtools:
It is obvious to see that the box model consists of 4 parts. From inside to outside
Drop down Menu
Display:block, the box will become expanded to populate the parent element by shrinking the bounding element
Position:absolute is the absolute position relative to the parent element, and its coordinates are relative to the parent
The writer, Slodive, is an experienced designer who likes to look for "good" things in every field. Naturally its collation of the recommended 25 CSS grid Framework is also not bad.
A CSS framework can support most complex layouts to help speed up
Div+css layout, after a bug is present, consider examining the following aspects.
First, check whether the label of the page is closed
Do not underestimate this, perhaps toss you two days did not solve the problem of CSS bugs, but only from here.
Css
ColorSyntax: color: Initial value: determined by the browserApply to: All objectsBackward-compatible: Yes
Color properties allow a Web page creator to specify the color of an element. The view unit can know the description of the color value.
Css
Not for everyone to translate it! Understand English should be able to read!
This is tutorial examines the different layout properties available in CSS:position:static, Position:relative, POSITION:ABSO lute, and float.
1. position:static
The
css| Web page
In CSS there is an instruction like this: (position)
Translated as "positioning" in the DW Chinese version, the commonly used attributes are relative (relative) and absolute (absolute).
A lot of friends are still not clear about the
css| Web page
The form is not unfamiliar, and the thin form is widely used.There are a number of ways to do a thin form, such as:1. The simplest method of thin-Line table, using the table property directlytesttesttesttest
2. Use the table
css|xhtml| Float | Web page
Recently in doing a document, about XHTML and CSS, read a lot of information, here first the summary of things to write out. The first is the div+css question, the most basic, how to use them to layout.
Floating
CSS
css| Tips | page | style sheet
♠ul tags in Mozilla default is padding value, and in IE only margin have a value.♠ the same class selector can appear repeatedly in one document, but only once for the ID selector, and for a label to use both class and
css| Web page
Introduction to Z-index Properties
Reference:
Z-index:auto | Number
Auto: Default value.Number: An integer value of no units, which can be negative.
Elements with a larger z-index value are superimposed over elements with a z-index
css| Web page
One. Selector mode
Pattern/meaning/content description
*matches any element. (Universal selector)EMatches any element e (for example, an element of type E). (type selector)E FMatches any descendant element F of element E. (descendant
css| Web page
untitled document test 2 3 4 5 6 7 8 9 10 11 12 13
[Ctrl + a ALL SELECT hint: You can modify some of the code, and then run]
untitled document test2345678910111213
css| Gradient | design | Web page background | Web Design
Web page technology CSS to achieve the background gradient of four kinds of code settings.
One, from the top down gradient
body{FILTER:progid:DXImageTransform.Microsoft.Gradient
CSS font processing in the Web page design no matter how stressed also is not too much, after all, the use of Web pages to convey information, and the most classic and most direct way of information transmission is text, so, to understand a little
Css|dreamweaver|dreamweaver8
The CSS specification allows you to create styles using abbreviated syntax, called shorthand CSS. Shorthand CSS allows you to specify the values of multiple properties with one property tag. For example, you can use
In CSS layout, the use of ul,li is very common. With Div and CSS, create no table layout.
In fact, Dreamweaver also has a sample of the CSS layout, as shown in the following figure:
The format of the Li code:A). Using CSS to format list
Css|frontpage Description: The current version of FrontPage is Frontpagexp (FrontPage 2002), this article is Frontpage2000, but the method described in this article is basically applicable in Frontpagexp! In addition, this is only discussed in
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service