移动端使用布局写法

原创
小哥 3年前 (2022-11-05) 阅读数 39 #大杂烩

代码需引用jQuery



    
  • 互动
  • 职业
  • 嘉宾
  • 信息
管理员
聊天内容聊天内容聊天内容聊天内容
管理员
聊天内容聊天内容聊天内容聊天内容
管理员
聊天内容聊天内容聊天内容聊天内容
管理员
聊天内容聊天内容聊天内容聊天内容
管理员
聊天内容聊天内容聊天内容聊天内容
管理员
聊天内容聊天内容聊天内容聊天内容
发送
@charset "utf-8"; /* CSS Document text-overflow:ellipsis; overflow:hidden; white-space:nowrap;*/ /*global */ /*屏幕变换字体大小不跟这变*/ html {width: 100%;height: 100%;-webkit-text-size-adjust: none;-moz-text-size-adjust: none;-ms-text-size-adjust: none;-o-text-size-adjust: none;text-size-adjust: none;} body {width: 100%;height: 100%;margin: 0;padding: 0; font-size:0.9em; line-height: 1.5;background:#efeff4; font-family: PingFang SC,Hiragino Sans GB,Microsoft YaHei;} dl,dd,dt,ul,li{ list-style:none;margin:0; padding:0} h1,h2,h3{ margin:0; padding:0;} textarea,input{font-family: Helvetica,sans-self;} em,i{font-style:normal} a,button,input{-webkit-tap-highlight-color:rgba(255,0,0,0);} .box{ overflow: scroll; height: 100%; } .box_header{ height: 230px; } .box_header_c{ position: fixed; width: 100%; z-index: 10000; } .box_header_img{ background: #0077B3; height: 190px; } .box_header_mune{ height: 40px; position: relative; } .box_header_mune ul{ display: flex; } .box_header_mune ul li{ justify-content: center; list-style: none; width: 33.3%; text-align: center; background-color: #009688; height: 40px; line-height: 40px; color: #fff; } .box_header_mune ul li:hover{ background-color: #007AFF; } .box_con_c_div{ position: relative; padding: 10px 20px 10px 10px; } .toux{ position: absolute; width: 50px; height: 50px; border-radius: 25px; background: #009688; } .wenzi{ padding-left: 60px; } .name{ } .liaotian{ background: #fff; border-radius: 1px 5px 5px 15px; padding: 5px 10px; margin-top: 6px; } .box_con_b{ height: 45px; } .box_con_b_c{ position: fixed; bottom: 0; height: 45px; left: 0; right: 0; background: #ccc; } .box_con_b_con{ padding: 5px 80px 5px 10px; position: relative; } .box_con_b_left{ position: relative; background: #fff; border-radius: 20px; padding: 0 20px 0 35px; } .box_con_b_left i{ position: absolute; left: 10px; top: 4px; display: block; height: 20px; width: 20px; border: 1px solid red; } .box_con_b_left input{ position: relative; top: 0; left: 5px; background-color: #fff; height: 30px; border: none; width: 100%; } .box_con_b_right{ position: absolute; right: 10px; top: 7px; width: 60px; height: 30px; border-radius: 15px; line-height: 30px; color: #fff; text-align: center; background-color: #007DDB; }
版权声明

所有资源都来源于爬虫采集,如有侵权请联系我们,我们将立即删除

上一篇:div跟随鼠标点 下一篇:飘窗
热门