<!DOCTYPE html>
<html>
<style>
.c7ncd-pipeline-scroll {
display: inline-flex;
padding: 0 14px;
min-width: 100%;
}
.c7ncd-pipeline-title-head {
padding-left: 12px;
color: #4d90fe;
background: rgba(77, 144, 254, 0.08);
position: relative;
-webkit-box-flex: 0;
-webkit-flex: 0 0 60px;
-ms-flex: 0 0 60px;
flex: 0 0 60px;
height: 36px;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
width: 270px;
padding: 10px 12px 10px 30px;
background: #f4f4f4;
border-top: 2px solid;
border-bottom: 2px solid;
}
.c7ncd-pipeline-title-head::before {
content: "";
position: absolute;
left: 0;
bottom: -2px;
width: 0;
height: 0;
border-left: 20px solid white;
border-top: 30px solid transparent;
border-bottom: 30px solid transparent;
}
.c7ncd-pipeline-title-head::after {
content: "";
position: absolute;
right: -20px;
bottom: -2px;
width: 0;
height: 0;
border-left: 20px solid #f4f4f4;
border-top: 30px solid transparent;
border-bottom: 30px solid transparent;
z-index: 1;
}
.arrow-tail::before {
top: 12.5px;
left: -8px;
content: "";
z-index: 2;
position: absolute;
width: 36px;
height: 0;
border-top: 2px solid;
-webkit-transform: rotate(56deg);
-ms-transform: rotate(56deg);
transform: rotate(56deg);
}
.arrow-tail::after {
bottom: 12.5px;
left: -8px;
-webkit-transform: rotate(-56deg);
-ms-transform: rotate(-56deg);
transform: rotate(-56deg);
content: "";
z-index: 2;
position: absolute;
width: 36px;
height: 0;
border-top: 2px solid;
-webkit-transform: rotate(56deg);
-ms-transform: rotate(56deg);
transform: rotate(126deg);
}
.arrow-head::before {
top: 12.5px;
right: -28px;
content: "";
z-index: 2;
position: absolute;
width: 36px;
height: 0;
border-top: 2px solid;
-webkit-transform: rotate(56deg);
-ms-transform: rotate(56deg);
transform: rotate(56deg);
}
.arrow-head::after {
bottom: 12.5px;
right: -28px;
-webkit-transform: rotate(-56deg);
-ms-transform: rotate(-56deg);
transform: rotate(-56deg);
content: "";
z-index: 2;
position: absolute;
width: 36px;
height: 0;
border-top: 2px solid;
-webkit-transform: rotate(56deg);
-ms-transform: rotate(56deg);
transform: rotate(124deg);
}
</style>
<body>
<script>
</script>
<div class="c7ncd-pipeline-scroll">
<div class="c7ncd-pipeline-title-head">
<div class="arrow-tail arrow-tail_unexecuted">
</div>
<div class="arrow-head arrow-tail_unexecuted">
</div>
</div>
<div class="c7ncd-pipeline-title-head" style="margin-left: 30px;">
<div class="arrow-tail arrow-tail_unexecuted">
</div>
<div class="arrow-head arrow-tail_unexecuted">
</div>
</div>
</div>
</body>
</html>
提供一个css实现箭头,三角形
最新推荐文章于 2024-05-13 10:52:32 发布