Fluid width step-navigation

Developer
Size
1,918 Kb
Views
60,720

How do I make an fluid width step-navigation?

What is a fluid width step-navigation? How do you make a fluid width step-navigation? This script and codes were developed by Adem Ilter on 11 June 2022, Saturday.

Fluid width step-navigation Previews

Fluid width step-navigation - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>fluid width step-navigation</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="step-by-step"> <ul class="unstyled clearfix"> <li class="first-step step-ok"><span>Birinci Adım</span></li> <li class="step-ok"><span>İkinci Adım</span></li> <li class="step-current"><span>Üçüncü Adım</span></li> <li class="last-step"><span>Son Adım</span></li> </ul>
</div>
</body>
</html>

Fluid width step-navigation - Script Codes CSS Codes

body{ padding: 40px; font: normal 12px/1.4 sans-serif;
}
.step-by-step { margin: 0 auto; max-width: 1000px;
}
.step-by-step ul { margin-right: 35px; position: relative;
}
.step-by-step ul li { position: relative; float: left; width: 33.3%; height: 36px; background: url("http://s.cdpn.io/3561/step_by_step.png") no-repeat left -108px;
}
.step-by-step ul li.first-step { background-position: left 0;
}
.step-by-step ul li.last-step { position: absolute; right: -35px; top: 0; width: 36px; background-position: right 0;
}
.step-by-step ul li.step-current { background-position: left -144px;
}
.step-by-step ul li.step-current.first-step { background-position: left -36px;
}
.step-by-step ul li.step-current.last-step { background-position: right -36px;
}
.step-by-step ul li.step-ok { background-position: left -180px;
}
.step-by-step ul li.step-ok.first-step { background-position: left -72px;
}
.step-by-step ul li.step-ok.last-step { background-position: right -72px;
}
.step-by-step ul li span { position: absolute; left: -40px; top: 45px; width: 120px; font-weight: bold; text-align: center; line-height: 1.1; color: #b1b8bf;
}
.step-by-step ul li.step-current span { color: #4C5B6A;
}
.step-by-step ul li.step-ok span { color: #999FA5; text-decoration: line-through;
}
Fluid width step-navigation - Script Codes
Fluid width step-navigation - Script Codes
Home Page Home
Developer Adem Ilter
Username ademilter
Uploaded June 11, 2022
Rating 4.5
Size 1,918 Kb
Views 60,720
Do you need developer help for Fluid width step-navigation?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Adem Ilter (ademilter) Script Codes
Create amazing web content with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!