Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialjohnadi
3,690 Pointshi i remove my base.css. how to get this againplz help me
help me
2 Answers
Heine Hansen
1,096 PointsCreate a new file and copy paste in the following:
* {
box-sizing: border-box;
}
body {
font-family: 'Nunito', sans-serif;
line-height: 1.5;
color: #384047;
padding: 40px 0;
}
p {
font-family: sans-serif;
margin-bottom: 24px;
}
hr {
border: 0;
height: 0;
border-top: 1px dotted rgba(0, 0, 0, 0.2);
margin: 50px 0;
}
h1,
h2 {
margin: 0 0 30px 0;
}
nav a {
font-size: .9em;
background: #ff784f;
color: white;
display: inline-block;
text-decoration: none;
padding: 3px 8px;
border-radius: 3px;
}
nav a:hover {
opacity: .75;
}
/* Main -------------------- */
#container {
max-width: 1100px;
margin: auto;
}
.row {
padding-top: 40px;
}
.col {
float: left;
width: 32.421%;
padding: 15px;
}
.btn {
font-size: 0.875em;
font-weight: 400;
cursor: pointer;
color: #fff;
padding-left: 20px;
padding-right: 20px;
width: 100%;
margin: 1em 0;
text-transform: uppercase;
border-bottom: 3px solid rgba(0,0,0,0.05);
background-color: #52bab3;
}
.btn:hover {
opacity: .75;
}
/* Form -------------------- */
label {
display: block;
margin-bottom: 0.5em;
}
input {
outline: 0;
border: none;
padding: 15px;
border-radius: .3em;
}
input[type="text"],
input[type="email"],
input[type="password"] {
font-size: 1em;
color: #222;
font-weight: 300;
width: 100%;
height: auto;
margin-bottom: 1.2em;
}
/* Float Clearfix ------------------ */
.group:after {
content: "";
display: table;
clear: both;
}
Moderator edited: Markdown added to code to properly display in the forums.
Jennifer Nordell
Treehouse TeacherAs an alternative to copy/pasting the code above in a new file, you can choose to download all the project files associated with this project by clicking the "Downloads" section under the video. Please note that these files will need to be extracted from the zip file before uploading to your workspace. Hope this helps!
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherHi Heine Hansen! I've added some markdown to your answer to allow it to be more easily copied by the OP. Check out the Markdown Cheatsheet link at the bottom of the "Add an Answer" section for tips on how to format your posts. Thanks for helping out in the Community!