In some large web site HTML code, we often see code, then, what is the use of them?
This code is rarely applied in most front-end designs, but this is a different browser style declaration to achieve a compatible effect, the following provides an
A table of CSS property sheets lists some of the properties of the CSS that we commonly use.
Property Name Property Meaning property value
Fonts Properties (font)
font-family what font to use all fonts
Font-style font italic Normal, italic,
Demo in hereBased on jquery and fisheye, in IE 6, ie 7, Opera 9, Firefox 2, and Safari 2 test throughOriginal: http://www.ndesign-studio.com/blog/design/css-dock-menu/How to use:1, download. Download the resource bundle first2, insert code. Insert
The following is the HTML page special effects code, click the Run button to see the effect:[Ctrl + A ALL SELECT hint: You can modify some of the code, and then run]
This is a very simple pure CSS album sliding browsing effect, only with a list of
The css| filter also has the same function in CSS: Filters ....
Filters can add some effect to graphics or text ...
If you are writing before the match and the nature of the text ...
You can do this without using the image file.
Let the page have a
css| Skills | tutorials
Previous section: sub-item declaration
Advantages of external references
Why do you want to make CSS declarations into a CSS file? There are three advantages to doing this.
The first benefit is that Web processing can be
css| Web page
Web sites built with the standards of the consortium can theoretically be separated from the structure by complete performance. For example, it is possible to completely change the skin (performance, CSS) without moving the skeleton
CSS with CSS to change the table border style, a very practical way.
Production method:
Copy the following code into ~, which is
Hide Bottom Border
Hidden bottom
Copy the following code into ~, which is
Hide Top Border
Hide top Border
Css
I. Basic CONCEPTS1. Selector: Is any element that is available in HTML, for example: Body,a,td p ...2, class: Is our own to the format of the name, the application of the time called the name (class= Class)3, Pseudo class: visited, active, link,
Css
Using abbreviations can help reduce the size of your CSS files and make it easier to read. The main rules for CSS abbreviations are as follows:
Color
16 The color value of the binary, if the value of each two digits is the same, you can
css| Filter | The identifier of the Filter property of the CSS is filter. To make your overall impression on it, let's take a look at its writing format:
filter:filtername (Parameters)
What do you think? It's not as simple as it seems, it
Css| Links
CSS uses four pseudo classes to define the style of the links, respectively: A:link, a:visited, A:hover, and a:active, for example:
a:link{font-weight:bold; text-decoration:none; color: #c00;}
a:visited {font-weight:bold;
css| Navigation | Page List Tags:
Navigation title
Navigation title
Navigation title
Navigation title
Navigation title
Corresponding CSS:
#bar {
List-style:none;
}
#bar li{
Float:left;
}
#bar Li a{
Float:left;
PADDING:7PX 10px;
border:1
css| Control | show
There are many ways to display text that is below 12px in a Web page, such as the NT system supports:11px
Run Code Box
tahoma font style, size 11px. Chinese font
[Ctrl + A ALL SELECT hint: You can modify some of the code, and
css| filter Free to do nothing, to organize some CSS text effects, to beginners. Here's an example, which is the most basic filter application, in fact, the combination of two or several different filters will get unexpected results, encounter
css| Chinese
Text inverted (90 degrees counterclockwise):
Run Code Box
1. Text inverted (counterclockwise turn 90 degrees) All Personnel Shun Destiny 2. Text is writing vertical row, Chinese vertical row, from right to left to read In the dark
css| anti-theft Chain
The implementation method is simple
Add the following code in the CSS:
IMG {Filter:expression (This. can't be removed? "" :((!this.complete)? "" :This.runtimeStyle.filter = ("Progid:DXImageTransform.Microsoft.AlphaImageLoader"
css| Web page · 1. The two ends of the text are aligned: text-align:justify; Text-justify:inter-ideograph;
· 2. Fixed-width Chinese character truncation: overflow:hidden;text-overflow:ellipsis;white-space:nowrap (although only the truncation of
css| Skills | webpage | Question trademark: label
Titles: Title
Main navigation: Mainbav (GLOBALNAV)
Top Navigation: Topnav
Edge Navigation: Sidebar
Left navigation: Leftsidebar
Right navigation: Rightsidebar
Flag Blog: Logo
Slogan: Banner
Menu
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