mirror of
https://github.com/pure-css/pure.git
synced 2024-11-24 10:44:21 +00:00
feat: added media queries for 2.5K and 4K screens (#1065)
This commit is contained in:
parent
ae407d3070
commit
a42d226c4b
@ -203,7 +203,9 @@ module.exports = function (grunt) {
|
|||||||
md: 'screen and (min-width: 48em)', // 768px
|
md: 'screen and (min-width: 48em)', // 768px
|
||||||
lg: 'screen and (min-width: 64em)', // 1024px
|
lg: 'screen and (min-width: 64em)', // 1024px
|
||||||
xl: 'screen and (min-width: 80em)', // 1280px
|
xl: 'screen and (min-width: 80em)', // 1280px
|
||||||
xxl: 'screen and (min-width: 120em)' // 1920px
|
xxl: 'screen and (min-width: 120em)', // 1920px
|
||||||
|
xxxl: 'screen and (min-width: 160em)', // 2560px
|
||||||
|
x4k: 'screen and (min-width: 240em)' // 3840px
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -567,6 +567,19 @@ function Grids() {
|
|||||||
<td>≥ <b>1920px</b></td>
|
<td>≥ <b>1920px</b></td>
|
||||||
<td><code>.pure-u-<b>xxl</b>-*</code></td>
|
<td><code>.pure-u-<b>xxl</b>-*</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td className="highlight"><b><code>xxxl</code></b></td>
|
||||||
|
<td className="mq-table-mq highlight"><code>@media screen and (min-width: 160em)</code></td>
|
||||||
|
<td>≥ <b>2560px</b></td>
|
||||||
|
<td><code>.pure-u-<b>xxxl</b>-*</code></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td className="highlight"><b><code>x4k</code></b></td>
|
||||||
|
<td className="mq-table-mq highlight"><code>@media screen and (min-width: 240em)</code></td>
|
||||||
|
<td>≥ <b>3840px</b></td>
|
||||||
|
<td><code>.pure-u-<b>x4k</b>-*</code></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
@ -154,6 +154,18 @@ function Start() {
|
|||||||
<td>≥ <b>1920px</b></td>
|
<td>≥ <b>1920px</b></td>
|
||||||
<td><code>.pure-u-<b>xxl</b>-*</code></td>
|
<td><code>.pure-u-<b>xxl</b>-*</code></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td className="highlight"><b><code>xxxl</code></b></td>
|
||||||
|
<td className="mq-table-mq highlight"><code>@media screen and (min-width: 160em)</code></td>
|
||||||
|
<td>≥ <b>2560px</b></td>
|
||||||
|
<td><code>.pure-u-<b>xxxl</b>-*</code></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td className="highlight"><b><code>x4k</code></b></td>
|
||||||
|
<td className="mq-table-mq highlight"><code>@media screen and (min-width: 240em)</code></td>
|
||||||
|
<td>≥ <b>3840px</b></td>
|
||||||
|
<td><code>.pure-u-<b>x4k</b>-*</code></td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
@ -95,7 +95,9 @@ function Tools() {
|
|||||||
md: 'screen and (min-width: 48em)', // 768px
|
md: 'screen and (min-width: 48em)', // 768px
|
||||||
lg: 'screen and (min-width: 64em)', // 1024px
|
lg: 'screen and (min-width: 64em)', // 1024px
|
||||||
xl: 'screen and (min-width: 80em)', // 1280px
|
xl: 'screen and (min-width: 80em)', // 1280px
|
||||||
xxl: 'screen and (min-width: 120em)' // 1920px
|
xxl: 'screen and (min-width: 120em)', // 1920px
|
||||||
|
xxxl: 'screen and (min-width: 160em)', // 2560px
|
||||||
|
x4k: 'screen and (min-width: 240em)' // 3840px
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -130,7 +132,9 @@ function Tools() {
|
|||||||
md: 'screen and (min-width: 48em)', // 768px
|
md: 'screen and (min-width: 48em)', // 768px
|
||||||
lg: 'screen and (min-width: 64em)', // 1024px
|
lg: 'screen and (min-width: 64em)', // 1024px
|
||||||
xl: 'screen and (min-width: 80em)', // 1280px
|
xl: 'screen and (min-width: 80em)', // 1280px
|
||||||
xxl: 'screen and (min-width: 120em)' // 1920px
|
xxl: 'screen and (min-width: 120em)', // 1920px
|
||||||
|
xxxl: 'screen and (min-width: 160em)' // 2560px
|
||||||
|
x4k: 'screen and (min-width: 240em)' // 3840px
|
||||||
}
|
}
|
||||||
})).toString();
|
})).toString();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user