Responsive Web Design

//自適應網頁聲明 css

<meta name="viewport" content="width=device-width,initial-scale=1.0"/> 瀏覽器

//根據瀏覽器寬度引用CSS式樣 spa

<link rel="stylesheet" style="text/css" media="screen and (max-device-width:400px)" href="" /> .net

//內部式樣 get

<style type="text/css" media="screen,projection"> it

//根據條件改變式樣 io

    @media screen and (max-drvice-width:1000px){ class

    } </style>
相關文章
相關標籤/搜索