Method One: Use PNG map as backgroundPay attention to hack.HTML code
The code is as follows
Copy Code
logo
CSS Code
The code is as follows
Copy Code
. logo {width:338px; height:57px;
First to two pieces of code, a paragraph is HTML code, a section of CSS code, the following analysis is based on these two pieces of code.
HTML code:
The code is as follows
Copy Code
solve the problem of alignment
Causes:
The Overflow:hidden property of the parent element is invalidated when the direct child element of the parent element or the style of the subordinate child element owns the Position:relative property.
Solution:
We found in IE 6 that the
1.line-height
You can assign an element a scaling factor without units so that its descendant elements inherit the scaling factor and then compute their own row height (line-height) values based on their font size.
Copy Code code as follows:
CSS implementation of the mouse to move to the picture, replace the picture, this is a full use of CSS to achieve the effect, of course, with JavaScript can also be achieved, when the mouse moved to the picture, the picture automatically replaced by
css container content beyond (overflow) wrap, CSS container content beyond (overflow) wrap, CSS container content exceeds (overflow) Auto wrap
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
sequence table ol beautiful pagination style sequence Table ol paging source/style Total record number:3 Total pages:3 Current page: 3 Home ago One page 1 2 3 4 5 6 7 &L t;li>8 9 Next Last
[Ctrl + A All SELECT Note:
css Create colorful text links css Create colorful text links
First, primary link style 1, general links 2, No underline links 3, Double line link 4, Strikethrough link II, advanced link Style style 1,
dynamic link hint asp What language is it?
here are your tips php What is it? Have you noticed? Random dynamic hint asp.
What about Net?
Random dynamic hint
[Ctrl + A All SELECT Note: If the need to introduce external JS
This code to achieve the fade out can be, relatively smooth, the same from javascript+css both.
javascript text fade and Fade show You know what? Cloud-dwelling communities are jb51.net
[Ctrl + A All SELECT Note: If the need to
Tip: You can modify some of the code before running
website left fixed position scrolling code-Taobao information right body{width
: 100%;background: #7e6e57;p osition:relative;font-family:arial;} A{color: #0579C6;
Objective
Inline-block, we usually use a lot of the most common use is a few div in a row to display, we use Display:inline-block. The reason for writing this article today is to write a few of the more peculiar usages of inline-block.
Implement
The current Web session, the vast majority of the layout of the pages are horizontally centered layout, the main body to set a width, and then margin:0 auto Rhythm ~
For example, the home page of the big Taobao:
However, this layout has a
Brief tutorials
This is a set of beautiful sliding switch button effects made with CSS3. This set of sliding buttons is designed according to bootstrap scenarios and can accommodate 5 different scenarios, as well as an unusable state.
How to
Brief tutorials
Css-ripple-effect is a cool flat style button that uses pure CSS3 to click the baud effect. The effect is modeled after the material design-style Click wave of the Android system.
How to use
Introduce the Ripple.css file in the page.
Details about html tags (1) and details about html tagsHttp tag details and explanations1. Basic labels
1 2 indicates creating an html document --> 3 set the document title and other information not displayed on the webpage --> 4 title
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