1
mirror of https://github.com/pure-css/pure synced 2024-11-18 02:36:30 +01:00

feat: add xxl (1920px) media query (#965)

This commit is contained in:
Linus Horvath 2022-03-15 00:54:01 +01:00 committed by GitHub
parent 72da9c0f20
commit 7debb3751c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 3 deletions

View File

@ -202,7 +202,8 @@ module.exports = function (grunt) {
sm: 'screen and (min-width: 35.5em)', // 568px
md: 'screen and (min-width: 48em)', // 768px
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
}
}
}

View File

@ -561,6 +561,12 @@ function Grids() {
<td> <b>1280px</b></td>
<td><code>.pure-u-<b>xl</b>-*</code></td>
</tr>
<tr>
<td className="highlight"><b><code>xxl</code></b></td>
<td className="mq-table-mq highlight"><code>@media screen and (min-width: 120em)</code></td>
<td> <b>1920px</b></td>
<td><code>.pure-u-<b>xxl</b>-*</code></td>
</tr>
</tbody>
</table>
</div>

View File

@ -148,6 +148,12 @@ function Start() {
<td> <b>1280px</b></td>
<td><code>.pure-u-<b>xl</b>-*</code></td>
</tr>
<tr>
<td className="highlight"><b><code>xxl</code></b></td>
<td className="mq-table-mq highlight"><code>@media screen and (min-width: 120em)</code></td>
<td> <b>1920px</b></td>
<td><code>.pure-u-<b>xxl</b>-*</code></td>
</tr>
</tbody>
</table>
</div>

View File

@ -94,7 +94,8 @@ function Tools() {
sm: 'screen and (min-width: 35.5em)', // 568px
md: 'screen and (min-width: 48em)', // 768px
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
}
}
}
@ -128,7 +129,8 @@ function Tools() {
sm: 'screen and (min-width: 35.5em)', // 568px
md: 'screen and (min-width: 48em)', // 768px
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
}
})).toString();