Quotes help make search much faster. Example: "Practice Makes Perfect"

Thursday, October 24, 2013

#Codeschool CSS Level 1 Sample Solution External Stylesheets



<!--Solution for index.html-->

<!doctype html>
<html lang="en">
  <head>
    <title>Sven's Snowshoe Emporium</title>
    <link rel="stylesheet" href="style.css" />
  </head>
 
  <body>
    <section class="content">
      <header>
        <h1>Sven's Snowshoe Emporium</h1>
      </header>
    </section>
  </body>
</html>

//Solution for style.css


body {
        color: #4b4648;
        font-family: tahoma, arial, sans-serif;
        font-size: 14px;
      }
.content {
        border: 1px solid #cac3c6;
        margin: 0 auto;
        padding: 20px;
        width: 260px;
}
h1 {
        color: #6d9fac;
        font-size: 22px;
        text-align: center;
}


No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts