当前位置:Gxlcms > css > css响应式布局-media

css响应式布局-media

时间:2021-07-01 10:21:17 帮助过:56人阅读

常见写法:


下面总结常见的响应式布局的分类:



@media screen and (max-width:320px){ 
  #talkFooter .editArea{…… }}
@media screen and (min-width:321px) and (max-width:375px){ 
    #talkFooter .editArea{…… }}
@media screen and (min-width:376px) and (max-width:414px){
 #talkFooter .editArea{…… }}   
@media screen and (min-width:415px) and (max-width:639px){
 #talkFooter .editArea{……}}  
@media screen and (min-width:640px) and (max-width:719px){
 #talkFooter .editArea{……}}   
@media screen and (min-width:720px) and (max-width:749px){
 #talkFooter .editArea{……}}   
@media screen and (min-width:750px) and (max-width:799px){
 #talkFooter .editArea{……}}   
@media screen(min-width:800px){}

以上就是css响应式布局-media的详细内容,更多请关注Gxl网其它相关文章!

人气教程排行