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.