css響應式布局-media

來源:互聯網
上載者:User
常見寫法:

下面總結常見的響應式布局的分類:


@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){}
相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.