flex布局反馈

display: flex;

display:flex是一种布局方式。它即可以应用于容器中,也可以应用于行内元素。是W3C提出的一种新的方案,可以简便、完整、响应式地实现各种页面布局。目前,它已经得到了所有浏览器的支持。

flex-wrap:wrap;

柔性包装 用于定义flex容器中的项目如何换行 \

  display: flex;  

可以创建一个弹性布局容器,使其内部的子元素能够根据一定的规则自动调整位置和大小

  flex-direction:column; 

用于设置flex布局中主轴的方向为垂直方向

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
.login { display: flex; justify-content: center; align-items: center; height: 100%; background-color: rgba(184, 153, 90, 0.62); } .login-box { width: 1000px; height: 474.38px; border-radius: 8px; display: flex; } .login-box img { width: 60%; height: auto; } .title { margin: 0px auto 30px auto; text-align: center; color: #707070; } .login-form { background: #fdfdfd; width: 40%; border-radius: 0px 8px 8px 0px; display: flex; justify-content: center; align-items: center; } .login-form .el-form { width: 214px; height: 307px; } .login-form .el-form-item { margin-bottom: 30px; } .login-form .el-form-item.is-error .el-input__inner { border: 0 !important; border-bottom: 1px solid #fd7065 !important; background: #fff !important; } .login-form .input-icon { height: 32px; width: 18px; margin-left: -2px; } .login-form .el-input__inner { border: 0; border-bottom: 1px solid #e9e9e8; border-radius: 0; font-size: 14px; font-weight: 400; color: #333333; height: 32px; line-height: 32px; } .login-form .el-input__prefix { left: 0; } .login-form .el-input--prefix .el-input__inner { padding-left: 26px; } .login-form .el-input__inner::placeholder { color: #aeb5c4; } .login-form .el-form-item--medium .el-form-item__content { line-height: 32px; } .login-form .el-input--medium .el-input__icon { line-height: 32px; } .login-btn { border-radius: 17px; padding: 11px 20px !important; margin-top: 10px; font-weight: 500; font-size: 14px; border: 0; background-color: #ffc200; } .login-btn:hover, .login-btn:focus { /* background: #FFC200; */ /* color: #ffffff; */ } .login-form-title { height: 36px; display: flex; justify-content: center; align-items: center; margin-bottom: 40px; } .login-form-title .title-label { font-weight: 500; font-size: 20px; color: #333333; margin-left: 10px; }
05-24

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值