Article Introduction: as Win7 users expand, they begin to incorporate IE8 into the development-compatible browser range.
As Win7 users continue to expand, begin to incorporate IE8 into the development-compatible browser scope
"\9"
Article Introduction: the text-indent problem with the form button.
Html
Html
CSS CodeIn this example, the button is made by the background of the picture, and the most common method of the image substitution is "text-indent" to
Just think of these years of writing CSS and XHTML experience, summed up into a "Chiven" to share. Helpless I have been high, really a bit powerless. Then on second thought, you can use the form of notes to show, so you do not have to worry about
Article Introduction: animate.css Some common CSS3 animation effects.
You've started using some CSS3 animations in your project, which makes the site look high on high-end browsers. Animate.css is a foreigner to do a variety of CSS3
GlyphCSS is used to control the character of glyphs is font-family. You can use it to determine the glyphs of the text in any one element.Like whatP.V {Font-family:verdana}h2.a {font-family:arial}This H2 ' s font is the Times New RomanThis paragraph
All CSS properties for a linked element can be merged into:
AText-decoration:none;Background:url (underline.gif) repeat-x 100% 100%;padding-bottom:4px;White-space:nowrap;}
If you want to customize the underline effect only when the mouse over the
Vertical in the word processing Office software is very easy to achieve. Since this effect is not much seen in the production of Web pages, the discussion on this issue is relatively small. But in the production of Chinese ancient characteristics of
Core tips: CSS rules consist of two main parts: selectors, and one or more declarations.
CSS syntax
CSS rules consist of two main parts: selectors, and one or more declarations.
selector {declaration1; declaration2;. Declarationn}
Selectors are
Core tip:The ID selector can specify a specific style for HTML elements marked with a specific ID.
ID Selector
The ID selector can specify a specific style for HTML elements marked with a specific ID.
The ID selector is defined with "#".
The
Article Introduction: when I want the perfect use: Nth-child or: Nth-of-type is a little dizzy. The more you understand them, the better CSS rules you can write!
Translated from:
useful:nth-child recipies
Chinese:
useful: The secret
The great master will make such a mistake, because when the page structure is very complex, nested many layers, it is easy to throw off the tag.
Just contact CSS When more dazed, many times do not know how to start, how to do. Get an effect picture,
The method comes from the navigation of Tudou, record the idea of realization here.
Mainly by the use of position properties of absolute and relative with z-index to achieve, through the position: Absolute will need to tile the background to
1. The menu Menu
This another great CSS menu Stu Nicholls that ' s unique–hovering over a menu item reveals a submenu. If you are want get started and this menu just simple view the source code. Demo in page.
2. Pure CSS Hover Menu
View Demo
A lot of people are learning about CSS while doing it, because it's not as complex as C #, it seems simple, but it is this incomplete understanding of CSS that leads to a lot of CSS code breaking the layout, or bringing endless debugging, which
Pure CSS Paste the bottom of the page code, ff2.0+, ff3.0+, IE6, IE7, Safari, Opera, chrome all through, ie8b2 under the effect of flaws, with the hack method to solve.
...... in test,alixixi test Menu Section I am the main body, I am the core
Only the latest browsers are supported. That is to say, give up IE5 and IE5.5. This will save you a lot of time. For IE6, it is not necessary to use the box model hack. If it's only for popular browsers, the same effect can be achieved with very
In the absence of a DTD declaration, the IE6,IE7,IE8 parsing of!important is invalid under the same selector style (that is, the same curly brace).
Precedence of a CSS
Today, someone told me that CSS hack with!important to distinguish IE6, because
css| Control | show
Generally we see such as news list, in order to make the text does not return to the line, control the number of words, through the program so that superfluous characters show ellipsis, we only use CSS can achieve the same effect,
Declare CSS within a single line
Let's compare the following two pieces of code:
h2 {font-size:18px; border:1px solid blue; color:#000; background-color:#FFF;} h2 { font-size:18px; border:1px solid blue; color:#000;
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.