<ul class="cp_breadcrumb">
<li><a href="">Home</a></li>
<li><a href="">Category</a></li>
<li><a href="">Sub Category</a></li>
<li><a href="">Sub Category</a></li>
<li><a href="">Contents</a></li>
</ul>
.cp_breadcrumb *, .cp_breadcrumb *:after, .cp_breadcrumb *:before {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.cp_breadcrumb {
overflow: hidden;
width: 100%;
margin: 1em auto;
padding: 0;
list-style: none;
}
.cp_breadcrumb li {
display: inline-block;
margin: 0 1em 0.5em 0;
}
.cp_breadcrumb a {
position: relative;
display: inline-block;
height: 48px;
margin: 0;
padding: 0.7em 1em 0.7em 2em;
text-decoration: none;
color: #444444;
background-image: linear-gradient(to right, #ffffff, #26C6DA);
-webkit-transition:all 0.3s ease;
transition: all 0.3s ease;
}
.cp_breadcrumb li:first-child a {
padding-left: 1em;
border-radius: 5px 0 0 5px;
}
.cp_breadcrumb a:hover {
background: #ffffff;
}
.cp_breadcrumb a::after,
.cp_breadcrumb a::before {
position: absolute;
top: 50%;
right: -0.9em;
margin-top: -1.5em;
content: '';
border-top: 1.5em solid transparent;
border-bottom: 1.5em solid transparent;
border-left: 1em solid;
-webkit-transition:all 0.3s ease;
transition: all 0.3s ease;
}
.cp_breadcrumb a::after {
z-index: 2;
border-left-color: #26C6DA;
}
.cp_breadcrumb a::before {
z-index: 1;
right: -1em;
border-left-color: #00ACC1;
}
.cp_breadcrumb a:hover::after {
border-left-color: #ffffff;
}
.cp_breadcrumb li:last-child a {
cursor: default;
pointer-events: none;
color: black;
background: transparent !important;
font-weight: bold;
}
.cp_breadcrumb li:last-child a:hover {
background: none;
}
.cp_breadcrumb li:last-child a::before,
.cp_breadcrumb li:last-child a::after {
content: normal;
}