Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
CSS: Make Div Fill Entire Screen Vertically & Horizontally
export default function Home() {
position: 'absolute',
height: '100%',
width: '100%',
top: 0,
bottom: 0,
margin: 0,
padding: 0,
backgroundColor: 'purple'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment