CSS
3, Text properties
※ Define Spacing
How do we use CSS to define the font, color, and background properties, and how do we format it?
Let's talk about the text properties of the CSS, or look at the detailed list of text attributes first:
We
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
css| Filter |
· CSS Filters: Mask Properties The Mask property creates a membrane covering the surface for the object.
· CSS Filters: Blur properties If you use your hand to quickly cross an oil painting that has not yet dried, the picture will
Author:dejan Cancarevic Come from:http://stylizedweb.com/2008/02/14/10-best-css-hacks/
from foreign websites, I would like to translate into Chinese, but look at the article is simple, if you do not understand this, I think there is no need to
Cssamazon.com this way of navigation has caused quite a lot of people to follow suit. So how did it do that? People who have experience in web design should not be hard to understand, if you do not know the details, by looking at the source code
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:
Because the mobile device has different resolution, PPI and other problems caused by the need for different screen resolution to adjust the optimization, such as the use of @2x pictures, max-width restrictions.
Using CSS @font-face is also a good
Common units
You can set the size of a font in many different ways in CSS. In general, these units are divided into two broad categories: absolute units (absolute) and relative units (relative).
Absolute units are in most cases fixed values
CSS compatibility Encyclopedia for IE and firefox-browser compatibility tutorial
CSS for browser compatibility is very high value, usually in the case of IE and Firefox there is a large resolution differences, here to introduce the compatibility
10 of the most common CSS bug solutions and tips-browser compatibility tutorials
CSS bugs are the most vexing problem in a layout. We need to take care of a variety of browsers to expect consistent results.It is very regrettable that the
1.DOCTYPE Influence CSS Processing
2.ff:div Set Margin-left, Margin-right is already centered when auto, IE not good
3.ff:body set text-align, Div needs to set Margin:auto (mainly margin-left,margin-right) to center
4.FF: Set padding, div will
CSS Annotations
As described in the HTML tutorial, annotations in CSS documents also play an important role in helping us remember the meaning of CSS, loading the location of HTML documents, and so on.
Start of CSS comments/*, end use/
CSS
CSS recently obsessed with the MVC development Model of PHP, not too concerned about the Web standards, IE7 has released the official version, a lot of csser also want to develop a focus on IE7 and IE6 support for CSS standards changed how much, I
The use of Css+div to the Web site has been increasingly valued by everyone, especially the large site, this afternoon, IT168 home page revision was chosen this approach. In fact, earlier, such as Alibaba, 163 and other large portal sites have
css|web| Design has been involved in the development of a medium-sized application system based on ASP.net, which has gained a lot in the past six months. I made a web-based CSS designer a while ago, although the technology is not complicated, but
Zoom Property
Grammar:
Zoom:normal |
|
Default value: Normal
Apply to: all elements
Inheritance: Have
Take value:
Normal
Use the actual dimensions of the object.
:
Use floating-point numbers to define the
Windows (Viewport) unit
Windows (Viewport) units are relative units, meaning they have no objective dimensions. Their size is determined by the size of the window (Viewport). Here are four units associated with Windows (Viewport).
I will
In the DIVCSS layout, you need to control the text, to introduce to you, CSS control line-wrapping four kinds of properties.
First, White-space
You can implement the effect of the pre tag in HTML and the nowrap effect of the cell, and click here to
The difference between Nth-child and Nth-of-type in CSS3 is actually very simple:: Nth-of-type Why to call: Nth-of-type? Because it is differentiated by "type". That is, Ele:nth-of-type (n) refers to the nth ele element under the parent element,
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.