day1: removed height from container

This commit is contained in:
Smigz 2025-01-02 11:45:46 -05:00
parent c2bfa3dadf
commit 90442d6a85
2 changed files with 79 additions and 0 deletions

36
day1/style.css Normal file
View file

@ -0,0 +1,36 @@
/* INSTRUCTIONS
*
* 1) Limit the total width of
* the .intro-conent to about half
* of it's parent
*
* 2) Stop the text from overflowing
* out the bottom at small screen
* widths
*
* You may modify the HTML if needed
*
*/
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: sans-serif;
}
.container {
background: #23424a;
color: white;
width: 80%;
margin: 0 auto;
padding: 2em;
}
.intro-content {
padding: 2em;
width: 50%;
}