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
In the CSS style sheet with the Chinese annotation, and * * and/* written in the same line with Chinese, may cause the style below the annotation, IE6 browser including IE6 may have this problem, but after testing IE7, Firefox, Opera and other
You can use CSS to fix the background, which is the following format:Label name {background-attachment: parameter} Parameters:Fixed: When the page scrolls, the background is stationary;Scroll: The background scrolls when the page scrolls. Instance:
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
Article Introduction: negative margin is a good thing.
The project completed last month, let me have a tangled n-hour module, first figure:
The default state is gray, without a circle, the completed state is red, the current display is
Tags Example
label one
Label II
Adaptive width Label
Contents of First label
Contents label background of the second label 1: tag background 2: content gradient background (1 like pixels):
The contents of the
css| Solve | The problem
A lot of friends when using Deamweaver8 will encounter the situation: to the current edited document linked to the CSS file, and the page element to apply the definition of CSS style, but in the DW8 can not see any effect.
Core tips: CSS Top ten Cheats
1.CSS Font Shorthand rules
You might do this when you use CSS to define fonts:Font-size:1em;Line-height:1.5em;Font-weight:bold;Font-style:italic;Font-variant:small-caps;Font-family:verdana,serif;In fact, you can
Core Tip: We are in the divcss layout, very concerned about the learning of CSS skills, today to recommend 3 so-called "top" CSS tips! Although nothing new, but for beginners is very important!
We are in the divcss layout, very concerned about the
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: Web page four ways to add CSS style sheets
First, use the style attribute: Add the style attribute directly to the individual component labels.
For example:The advantage of this usage is that it can be used neatly in each label, but the
Article Introduction: the class name intersection compound selector using CSS.
First look at the basic definition:
A composite selector is a selector of two or more basic selectors that are connected in different ways, mainly including
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
Article Introduction: 30 most commonly used CSS selector parsing.
You may have mastered the basic CSS selectors for ID, class, and background selectors. But this is far from all of CSS. The following is a systematic analysis of the 30
Core tip: as the web design toward the delicate, ingenious direction, designers began to consider using non-JavaScript way to make mouse over, hover menu effect, when the CSS sprite came into being.
Introduction to CSS Sprites
It is often
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