<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;
list-style: none;
}
.cp_breadcrumb {
overflow: hidden;
margin: 1em auto;
padding: 0 0 0 1em;
}
.cp_breadcrumb li {
display: inline-block;
margin: 0 1em 0.5em 0;
}
.cp_breadcrumb a {
position: relative;
padding: 0.7em 1em;
text-decoration: none;
color: #ffffff;
background: #C0CA33;
display: inline-block;
height: 40px;
line-height: 1em;
-webkit-transition:all 0.3s;
transition: all 0.3s;
}
.cp_breadcrumb a:hover {
background: #D4E157;
}
.cp_breadcrumb a::before,
.cp_breadcrumb a::after {
position: absolute;
top: 0;
bottom: 0;
padding: 1.21em 0.4em;
content: '';
transform: skew(-10deg);
background: #C0CA33;
-webkit-transition:all 0.3s;
transition: all 0.3s;
}
.cp_breadcrumb a::before {
left: -0.5em;
border-radius: 5px 0 0 5px;
}
.cp_breadcrumb a:hover::before {
background: #D4E157;
}
.cp_breadcrumb a::after {
right: -0.5em;
border-radius: 0 5px 5px 0;
}
.cp_breadcrumb a:hover::after {
background: #D4E157;
}
.cp_breadcrumb li:last-child a {
font-style: italic;
padding-left: 0;
cursor: default;
pointer-events: none;
color: #333333;
background: transparent !important;
}
.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;
}