This effect is very unique. The special effect implementation process I have seen before is very complicated, butSource codeBut it is very simple and recommended to favorites.
Refresh this page to see the effect
View
page 1 reports like this general requirements are sufficient. page 2nd the page is displayed reports like this general requirements are sufficient.
Site of the year
Winner: UX magazine
2nd.-Veerle's blog 2.0
3rd.-vitamin
Associations
Winner: principles of freedom
2nd.-White Pine Monte ssori
3rd.-Dalit Freedom Network
Blogging
Winner: simple bits
2nd.-Veerle's blog 2.0
3rd.-
Despite the vertical-align feature of CSS, it cannot effectively solve the vertical center problem of unknown height (in the case of text or images with unknown heights in a div label ).
Standard browsers such as Mozilla, opera, and safari .,
This is a simple image Viewer built with CSS + Js. You can click a thumbnail to view the large image. The description of each image is displayed. The position of the large image is fixed width and height, and the excess part is hidden, click the big
and are used to specify a style for the content or bind a script. Although most HTML elements can use style attributes to set style information, many HTML elements have their own default styles, which may be mixed or even conflicted with styles
1. CSS simplified font rules
When CSS is used to define the font, you may do the following:
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
How to center a divThe main style definition is as follows:
Body {text-align: center ;}# Center {margin-Right: auto; margin-left: auto ;}Note:
First, define text-align: center in the parent element. This means that the content in the parent
You may have realized that you can specify different styles for each one-click connection to create CSS tumble effects. These links include normal link (normal), access, flip, and activation. In addition, you may also know that the sequence of CSS
Are you learning CSS layout? Isn't it possible to fully master the pure CSS layout? There are usually two ways to impede your learning:
The first possibility is that you have not understood the principle of CSS processing pages. Before you
CSS element Positioning
1. Position: static | no locationPosition: static is the default value for positioning all elements. It is generally not required unless there is a need to cancel the inheritance of other Positioning
Example:# Div-1
We all know that there are differences between browsers.XHTML + CSSThis was a headache for Web pages. A lot of skills are required to work under the influence of these differences,"HideCSS"Is a very important technique (or even the most important ).
In addition to special instructions, the content of this site uses the creation and sharing of authorized signatures and non-commercial purposes. Please respect the fruits of labor.
Original article title: vertical centering in CSS
Subtitle:
What is CSS?
CSS is a technology called stylesheet. Some people also call it cascading stylesheet ). CSS technology is used in homepage creation to control page layout, Font, color, background and other effects more accurately. As long as the
Some people may have found that they can write...
CSSCodePartA.info {Position: relative; Z-index: 0; Background-color: # CCC; color: #000; text-Decoration: None}
A.info: hover {Z-index: 1; Background-color: # ff0}
A.info span {Display: None}
Modify your style sheet and find the following section (generally at the beginning)
A {
Color: # 3399FF;
Font-weight: Normal;/* The font effect can be changed to bold or bold */
Text-decoration: none;/* underline effect: No underline */
}
A: hover {
The principle is to use the Alpha filter to add a transparent gradient to each table, which is controlled by the background color of the table. A single td controls another gradient.
Alpha Filter
Syntax: {FILTER: ALPHA (opacity = opacity,
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