/*移动端适配开始 站壳网www.occud.com*/ /*手机端适配 常规尺寸*/ @media (max-width:768px) { .hh_usertop .user_av img { float: left; width: 50px; height: 50px; border-radius: 5px; margin-top: 15px; } .hh_usertop { margin-left: 12px; height: 120px; max-width: 1380px; } .hh_ziliao { position: relative; top: 1px!important; text-align: right; width: 100%; text-align: right; } .user_row { position: relative!important; top: 40px!important; } .user_row li { margin-right: 10px!important; } .hh_p2 { display: block; margin: 0; color: gray; font-weight: 300; font-size: 14px!important; } } /*iphone X 适配*/ @media only screen and (device-width:375px) and (device-height:812px) and (-webkit-device-pixel-ratio:3) { .user_row li { margin-right: 55px!important; } .hh_ziliao { margin-left: -80px; }} /*iphone 6/7/8 适配*/ @media only screen and (device-width:375px) and (device-height:667px) { .user_row li { margin-right: 4px!important; } .hh_ziliao { margin-left: -80px; } } /*iPhone 5/SE适配*/ @media only screen and (device-width:320px) and (device-height:568px) { .hh_usertop .user_av img { width: 40px; height: 40px; } .hh_usertop { margin-left: 1px; padding-top: 80px; padding-left: 15px; height: 160px; max-width: 1380px; } .hh_p2 { font-size: 0px!important; } .hh_ziliao #udptips { top: 20px!important; padding: 1px 1px!important; } .hh_ziliao .hh_user_vips { top: 33px!important; padding: 6px 10px!important; } .hh_ziliao { margin-left: -20px; width: 100%; text-align: right; } .user_row ul li a.active { border-bottom: 0px solid #1990fc!important; color: #2700ff!important; } } /*移动端适配结束*/
标签:
本文链接:https://www.xiaba.cc/html/2110.html
版权声明:站内所有文章皆来自网络转载,只供模板演示使用,并无任何其它意义!