console
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
.bg {
margin: 60px auto;
width: 500px;
height: 20px;
background-color: rgb(222, 228, 247);
display: flex;
align-items: center;
}
.bg-line {
background-color: rgb(222, 228, 247);
border: 2px blue solid;
}
.inner {
height: 100%;
border-radius: 0;
transition: all 0.5s cubic-bezier(0, 0.64, 0.36, 1);
border: 3px blue solid;
box-sizing: border-box;
}
.line {
width: 90%;
background: repeating-linear-gradient(-45deg, red, red 5px, blue 5px, blue 10px);;
}
.circle {
height: 35px;
width: 35px;
border-radius: 50%;
background: blue;
transform: translateX(-50%);
box-shadow: 0 0 0 4px #fff,
0 0 0 6px blue;
}
</style>
</head>
<body>
<div class="bg-line bg">
<div class="line inner"></div>
<div class="circle"></div>
</div>
</body>
</html>