Replies: 2 comments
-
I'd be happy to take a crack at this if the maintainers think it'd be considered for inclusion. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can use the plugin. plugins: [
plugin(({ addUtilities }) => {
addUtilities({
'.size-screen': {
width: '100vw',
height: '100vh',
},
});
}),
] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While the end values aren't strictly the same, it would be really nice to have support for
size-screen
which outputswidth: 100vw; height: 100vh;
. This is useful when trying to make full-screen elements andwidth: 100%; height: 100%;
won't work.I understand why this was initially left out, and why other width/height specific values like
svw lvw dvw svh lvh dvh
aren't included, but I'll point out thatw-screen
andh-screen
are named the same so it's not illogical to assume they'd be supported bysize-*
.Beta Was this translation helpful? Give feedback.
All reactions