前端页面设计CSS

#order {
    height: 1267px;
    /* background-color: yellow; */
}

#order .container {
    height: 1267px;
    /* background-color: green; */
    border-top: 1px solid transparent;
}

#order .container>.lef {
    width: 181px;
    height: 634px;
    /* background-color: red; */
    border-top: 5px solid #e7af70;

    box-sizing: border-box;
    /* padding: 30px; */

    margin-top: 30px;
    float: left;
}

#order .container>.lef .top {
    height: 67px;
    font-size: 22px;
    line-height: 67px;
    width: 145px;
    border-bottom: 1px solid #eeeeee;
    text-align: center;
    margin-left: 20px;
}

#order .container>.lef>ul {
    margin-top: 22px;
    border: 1px solid #eeeeee;

}

#order .container>.lef>ul>li {
    width: 180px;
    height: 33px;
    /* border: 1px solid black; */
    text-align: center;
    font-size: 16px;
    line-height: 33px;
    margin-bottom: 20px;
    background-color: #e7af70;
}

#order .container>.lef>ul>li:hover {
    margin-bottom: 183px;
    transition: margin-bottom 3s;

}

#order .container>.lef>ul>li>ul {
    width: 180px;
    height: 0px;
    /* background-color: aqua; */
    overflow: hidden;
    

}

#order .container>.lef ul>li:hover ul {
    height: 140px;
    color: black;
}
#order .container>.rig>.box2>.save {
    border-top: 1px solid transparent;
    width: 942px;
    height: 433px;
    margin-top: 50px;
    /* background-color: yellow; */
}

#order .container>.rig>.box2>.save>.b1>div {
    width: 140px;
    height: 32px;
    border: 1px solid gray;
    background-color: #eeeeee;
    float: left;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    line-height: 32px;
}

#order .container>.rig>.box2>.save>.b1>div:hover {
    background-color: #cf0101;
    color: #ffffff;
}

#order .container>.rig>.box2>.save>.thing {
    margin-top: 32px;
    width: 939px;
    height: 398px;
    border: 1px solid #eeeeee;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;

}

#order .container>.rig>.box2>.save>.thing>div {
    width: 200px;
    height: 250px;
    /* background-color: green; */
    border: 1px solid transparent;
}

#order .container>.rig>.box2>.save>.thing img {
    margin-top: 28px;
    margin-left: 36px;
}

#order .container>.rig>.box2>.save>.thing .pri {
    text-align: center;
}

#order .container>.rig>.box2>.save>.thing>div {

    transition: opacity 1s ease-in-out;
}

#order .container>.rig>.box2>.save>.thing>div:hover {
    transform: scale(1);
    /* 图片透明度为0.5,通过过渡属性实现淡出效果 */
    box-shadow: 3px 3px 3px 3px gray;
}
#order .container>.rig>.box11 {
    width: 936px;
    height: 658px;
    /* background-color: red; */
    border: 1px solid #eeeeee;
}

#order .container>.rig {
    width: 936px;
    height: 1078px;
    /* background-color: skyblue; */
    float: right;
    margin-top: 30px;


}
#order .container>.rig .top{
    width: 942px;
    height: 334px;
    background-color: red;
    box-sizing: border-box;
    padding: 15px;
}
#order .container>.rig .top div:nth-child(1){
    /* text-align: center; */
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid gray;
}
#order .container>.rig .top div:nth-child(2){
    width: 510px;
    height: 222px;
    margin-top: 28px;
    background-color: yellowgreen;
}