Html+css, how to write this kind of package?

clipboard.png

Apr.05,2021

this belongs to the step bar.
hasn't written a style for a long time. It took three minutes to do it. does not recommend using pictures .

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    .step{
        /* background-color: azure; */
        height: 100px;
        margin-top: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .step-circle{
        width: 58px;
        height: 58px;
        border-radius: 30px;
        background-color: -sharpf0f3f5;
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
        position: relative;
    }
    .step-circle::before{
        content: "";
        position: absolute;
        transform: translate(-50%, -50%);
        left: 50%;
        top: 50%;
        width: 48px;
        height: 48px;
        /* background-color: -sharp495a75; */
        background-color: -sharpfff;
        border-radius: 48px;
    }
    .step-circle>span{
        position: relative;
        z-index: 2;
        color: -sharp495a75;
    }
    .between{
        width: 428px;
        height: 18px;
        background-color: -sharpf0f3f5;
        margin: 0 -3px;
    }
    .currnet>span{
        color: -sharp5dbcac;
    }
    .currnet::before{
        background-color: -sharp495a75;
    }
    </style>
</head>
<body>
    <div class="step">
        <div class="step-circle currnet">
            <span>1</span>
        </div>
        <div class="between"></div>
        <div class="step-circle">
            <span>2</span>
        </div>
        <div class="between"></div>
        <div class="step-circle">
            <span>3</span>
        </div>
    </div>
</body>
</html>

1. Through pictures, the effects of different states are divided into different pictures.
2, div+css can achieve a similar effect.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5fa33-45082.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5fa33-45082.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?