In this post I will explain how to create form processing steps design using HTML and CSS. You can directly copy and paste the below code in your working code. And in this post I am not using any Javascript or Jquery related validations. Just giving an idea about design perspective. In next post I will provide validations too. To implementing this design please follow the below steps.
Step 1 : ( Create HTML List )
<ul>
<li class="flag">
Item Details
</li>
<li class="flag">
Shipping Address
</li>
<li class="flag">
Payment
</li>
<li class="flag">
Conformation
</li>
</ul>
Step 2 : ( Apply CSS Styles to HTML List )
box-sizing: border-box;
}
ul{margin-top:100px;}
li{
float:left;
}
.flag {
width: 200px;
height: 50px;
margin: 0 auto;
padding-top: 18px;
position: relative;
background: #f36633;
color: white;
font-size: 11px;
letter-spacing: 0.2em;
text-align: center;
text-transform: uppercase;
list-style:none;
}
.flag:before {
content: ' ';
position: absolute;
left: 0;
bottom: 0;
width: 0;
height: 0;
border-left: 25px solid white;
border-top: 25px solid transparent;
border-bottom: 25px solid transparent;
}
.flag:after {
content: ' ';
position: absolute;
right: 0;
bottom: 0;
width: 0;
height: 0;
border-top: 25px solid white;
border-left: 25px solid transparent;
border-bottom: 25px solid white;
}
I hope you like this article very much & Please don't forget to share.
Thank you.
0 comments:
Post a Comment