Page Widget How to - Create breadcrum with round arrow








Question

We would like to know how to create breadcrum with round arrow.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.progress {<!--   w ww.  j ava  2 s .  c o m-->
  padding: 4px;
}

.div1 {
  font-size: 12px;
  position: relative;
  height: 16px;
  color: white;
  background-color: #999999;
  padding: 2px 20px 2px 10px;
  border-radius: 0px 10px 10px 0px;
  box-shadow: 2px 1px 2px rgba(20, 20, 50, 0.7), 5px 0px 0px white;
  float: left;
  vertical-align: middle;
}

.div2 {
  height: 20px;
  width: 10px;
  box-shadow: 1px 1px 2px rgba(20, 20, 50, 0.7);
  background-color: #999999;
  float: left;
}

.sel {
  background-color: #AAA;
}

.passed {
  background-color: #DDD;
}
</style>
</head>
<body>
  <div class=progress>
    <div class="div1 passed">Step 1</div>
    <div class="div2 sel"></div>
    <div class="div1 sel">Step 2</div>
    <div class="div2"></div>
    <div class="div1">Step 3</div>
    <div class="div2"></div>
    <div class="div1">Step 3</div>
  </div>
</body>
</html>

The code above is rendered as follows: