day1: removed height from container
This commit is contained in:
parent
c2bfa3dadf
commit
90442d6a85
2 changed files with 79 additions and 0 deletions
36
day1/style.css
Normal file
36
day1/style.css
Normal 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%;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue