responsive-layouts/challenge2/style.css
2025-01-06 21:53:59 -05:00

42 lines
725 B
CSS

/* INSTRUCTIONS
*
* 1) Keep the text inside .intro-content
* in the same place, but have the background
* extend from one side of the viewport
* to the other, no matter how wide or narrow
* the browser is.
*
* 2) Limit the maximum width of the text in the
* bottom area.
*
* You may modify the HTML if needed
* (you probably should for this challenge)
*
*/
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: sans-serif;
}
.container {
width: 80%;
max-width: 750px;
margin: 0 auto;
background: #23424a;
color: white;
padding: 50px 1em;
}
.intro-content {
width: 100%;
}
.section {
background: white;
color: black;
}