-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sneha Yadagiri
authored and
Sneha Yadagiri
committed
Dec 11, 2024
1 parent
1e961d4
commit c6ea2e5
Showing
2 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
*/ | ||
} |