前端页面设计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;
}

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值