常見寫法:
#以下總結常見的響應式佈局的分類:
@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的詳細內容。更多資訊請關注PHP中文網其他相關文章!