Imitation Taobao-navigation order tracking CSS Simple implementation

Source: Internet
Author: User

A whim, in Taobao bought a baby, see Taobao order tracking status done very well, just can use in their own small project practice practicing. Special will Taobao's picture copy down.

With the firebug of Firefox to learn a little bit of skill, their own hands slowly tried, and finally made a point of the sample, special posted out to share, in the future a bit of available.

The main layout of the HTML page is as follows

		<div class= "Logistics" >
			<table cellpadding= "0" cellspacing= "0" align= "center" width= "100%" >
				<tr>
					<td align= "center" height= "> Fill out User information </td>
					<td align=" center "> Bind bank card number </TD >
					<td align= "center" > Opening successfully </td>
				</tr>
				<tr>
					<td class= "Step-no1" > </td>
					<td class= "Step-no2" ></td>
					<td class= "Step-no3" ></td>
				</tr >
			</table>
		</div>

Through CSS control, the first state:

	. step-no1,.step-no2,.step-no3{
    		height:35px;
    	step-no1 {
    		Background:url ("Images/t1ze0zxa0axxcvlxza-734-340.png") no-repeat scroll 50% -33px (RGBA);
    	. Step-no2 {
    		background:url ("Images/t1ze0zxa0axxcvlxza-734-340.png") no-repeat scroll 50% -101px rgba ( 0,0,0,0);
    	STEP-NO3 {
    		Background:url ("Images/t1ze0zxa0axxcvlxza-734-340.png") no-repeat scroll 50% -135px (RGBA);
    	

The effect is as follows:

In the second state, the corresponding CSS should read:

	. step-no1 {
    		background:url ("Images/t1ze0zxa0axxcvlxza-734-340.png") no-repeat scroll 50% -203px rgba (0,0,0,0); c14/>}
    	. Step-no2 {
    		background:url ("Images/t1ze0zxa0axxcvlxza-734-340.png") no-repeat scroll 50% 1px rgba ( 0,0,0,0);
    	STEP-NO3 {
    		Background:url ("Images/t1ze0zxa0axxcvlxza-734-340.png") no-repeat scroll 50% -135px (RGBA);
    	

The effect is as follows

In the third State, the CSS settings are as follows:

	. step-no1 {
    		background:url ("Images/t1ze0zxa0axxcvlxza-734-340.png") no-repeat scroll 50% -203px rgba (0,0,0,0);
    	}
    	. Step-no2 {
    		background:url ("Images/t1ze0zxa0axxcvlxza-734-340.png") no-repeat scroll 50% -169px rgba ( 0,0,0,0);
    	STEP-NO3 {
    		Background:url ("Images/t1ze0zxa0axxcvlxza-734-340.png") no-repeat scroll 50% -67px (RGBA);
    	


The effect is as follows:

This design is relatively simple, only need each location need "which line" picture is good, the content is for reference only, learn from each other.

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.