The Z-index property in CSS is used to set the stacking order of nodes, and nodes with a higher stacking order will appear in front of the nodes with lower stacking order, which is our general understanding of the Z-index attribute. At the same time,
Minimum height min-height can set the minimum height of a box, when its content is less, can also keep box height is certain, beyond the automatic downward extension, but so far only opera and Mozilla support, IE7 above version support, how on the
Method One,
Note: This method uses CSS3, no pictures, compatible with a variety of WebKit browser, while compatible with ie8+. First figure:
1. First is the HTML code, relatively simple, only need a simple UL and Li can
The code is
Center up or down
The code is as follows
Copy Code
div{position:fixed;Margin:auto;left:0;right:0;top:0;bottom:0;width:200px;height:150px;}
If only need to center, then put bottom:0; or top:0; You can delete
Opacity set Transparency
Add opactiy to the properties of a picture
Example
The code is as follows
Copy Code
Img{opacity:0.4;Filter:alpha (OPACITY=40); /* for IE8 and earlier versions * *}
In fact, as long as
When we are in the page layout, basically can not avoid using float, but it will also cause some problems, especially when the container height is not fixed, at this time its height is completely by the internal elements of the open. If the internal
Grammar:
Text-overflow:clip | Ellipsis
Parameters:Clip: Do not show ellipsis (...). ), but simply cut(Clip This parameter is not commonly used!) )Ellipsis: Displays an ellipsis (...) when text overflows inside an object. )
DescriptionSets or
The unit of relative length of pixel (pixel) is relative to the screen resolution of the display (derived from the css tutorial 2.0 manual ).The unit of relative em length is relative to the font size of the text in the current object. For example,
Wildcard characterSyntax: * Note: Select all types of single objects in the document directory tree (DOM.If the wildcard character is not the only component of a single character, "*" can be omitted.Currently, IE5.5 + does not support this selection
Tip: you can modify some code before running Javascript css Image switching code Tang Wen: Las Vegas It's the last day before Miss World Championship, and we're getting nervous about the "Tang wenla... [Details] Zhao Ke: a model environmental
Tip: you can modify some code before running Floating layer of css translucent effectFloating layer of css translucent effectWww.111cn.net China web first stop Committed to the application and development of web standards in China Tip: you can
Tip: you can modify some code before running Code for css rounded corner effectRounded corner effectThis code is provided by the webpage special effect network. Tip: you can modify some code before running
Tip: you can modify some code before running Css classic navigation menu codeHomeSingle LevelDropdownDroplineFlyoutSupportContact Tip: you can modify some code before running
Tip: you can modify some code before running Classic pure css menu code [supports ie6 and ie7]HomeSingle LevelDropdownDropdown OneDropdown TwoDropdown ThreeDropdown FourDropdown FiveDroplineDropline OneDropline TwoDropline ThreeDropline
Tip: you can modify some code before running Market researchMarketing PlanningSales executionReal estate advertisement Planning and Design Full Promotion Commercial real estate Management System Policies and
Tip: you can modify some code before running You can use the rounded corner style again and set different classes for different content. You can change the background style. testboxcon uses a "relative" location, it mainly serves as a reference for
There are two common add_action hooks that can load scripts and CSS to WordPress:Init: always load scripts and CSS for your website header (if you use home. php, index. php or a template file), and other "front-end" articles, pages, and template
1. $ ('node + next') =$ ('node'). next ()2. $ ('node ~ Siblings ') = $ ('node'). nextAll ();3.: the element whose gt (index) is greater than the index number, starting from 0.4.: the element whose index is smaller than the index number, starting
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.