Skip to content

Commit

Permalink
changed few things
Browse files Browse the repository at this point in the history
  • Loading branch information
Sneha Yadagiri authored and Sneha Yadagiri committed Dec 11, 2024
1 parent 1e961d4 commit c6ea2e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
File renamed without changes.
12 changes: 8 additions & 4 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
html {
box-sizing: border-box;
/* this will stretch page based on padding */
/* When you use box-sizing: border-box;, the padding and border are included
within the width and height you set for the element, not added to it.
This makes it easier to
manage the element's size without having to account for padding and border.*/
}

body {
margin: 0;
min-height: 100vh;
/* view port height which means entire height of the screen
if though the content is not screen size but entire screen
background-color: blue;
/*Full-page layouts: Ensuring that the body or a specific
container covers at least the full screen height, even
if the content is not enough to fill the page.
*/
}

0 comments on commit c6ea2e5

Please sign in to comment.