html页面练习——公司发展流程图

1.效果图

html页面练习——公司发展流程图_第1张图片

2.html

发展历程

CONMPANY HISTORY

2012.12
园区服务方向
2014.03
业务转型互联网销售
2016.06
期待...
公司成立
2012.12
火天使投资900万
2014.03
v1.0版本上线
2016.06

3.css

*{
    padding: 0;
    margin: 0;
    list-style-type: none;
}
header{
    color: lightcoral;
}
.center{
    width: 100vw;
    height: 100vh;
    display: flex;
    /* justify-content:center水平居中 */
    justify-content: center; 
    /* align-items:center垂直居中 */
    align-items: center;
    flex-direction: column;
    text-align: center;
}
main{
    /* width: 100%; */
    height: auto;
    display: flex;
    /* justify-content: space-around;    */
}

.line{
    width: 8px;
    height: 420px;
    background-color: #ccc;
    position: relative;
}
.circle1{
    position: absolute;
    left: -5px;
    top: 70px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid lightcoral;
}
.circle2{
    position: absolute;
    left: -5px;
    top: 140px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid lightcoral;
}
.circle3{
    position: absolute;
    left: -5px;
    top: 210px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid lightcoral;
}
.circle4{
    position: absolute;
    left: -5px;
    top: 280px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid lightcoral;
}
.circle5{
    position: absolute;
    left: -5px;
    top: 350px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid lightcoral;
}
.circle6{
    position: absolute;
    left: -5px;
    top: 415px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid lightcoral;
}
.left{
    width: 12vw;
    height: 420px;
    padding-top: 49px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}


.time1{
    color: lightcoral;
    padding-left: -130px;
    /* text-align: right; */
    
}
.red-border{
    width: 200px;
    height: 50px;
    border: 2px solid lightcoral;
    /* 圆角边框 */
    border-radius: 50px 0 0 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.text{
    width: 190px;
    height: 40px;
    background-color: lightcoral;
    color:white;
    line-height: 40px;
    border-radius: 50px 0 0 50px;
}
.right{
    width: 10vw;
    height: 420px;
    padding-top: 32px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.time2{
    color: lightcoral;
    padding-right: 130px;
    
}
.red-border1{
    width: 200px;
    height: 50px;
    border: 2px solid lightcoral;
    /* 圆角边框 */
    border-radius:  0 50px 50px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.text1{
    width: 190px;
    height: 40px;
    background-color: lightcoral;
    color:white;
    line-height: 40px;
    border-radius:  0 50px 50px 0;
}

你可能感兴趣的:(css3,html)