Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions top-nav-drill/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>The Awesome Company</title>
<link rel="stylesheet" href="bower_components/normalize-css/normalize.css">
<link rel="stylesheet" href="main.css">
</head>
</head>

<body>
<div class="container">
Expand All @@ -27,9 +27,10 @@

<section>
<h1>A Page Title</h1>
<!-- <hr> -->
<section>
<h2>A Paragraph</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum blandit, tellus ornare mollis rhoncus, risus dui tincidunt nisl, nec vulputate sapien neque at tellus. Aenean in ornare nisl, sed porta dui.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum blandit, tellus ornare mollis rhoncus, risus dui tincidunt nisl, nec vulputate sapien neque at tellus. Aenean in ornare nisl, sed porta dui.</p>
<p>Nunc sit amet arcu id ligula commodo consequat vel a lorem. Proin auctor, purus in dictum efficitur, mauris purus dictum augue, vitae laoreet ante nunc in sapien. Maecenas consectetur egestas euismod.</p>
</section>
<section>
Expand All @@ -41,7 +42,7 @@ <h2>A Paragraph</h2>
<h2>A Paragraph</h2>
<p>Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas non mauris ac erat consequat rhoncus. Mauris nec sapien luctus, rutrum leo sit amet, pretium elit.</p>
</section>

<!-- <hr> -->
<footer>
<p>Copyright &copy; 2013 Awesome Company LLC.</p>
</footer>
Expand Down
76 changes: 76 additions & 0 deletions top-nav-drill/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,80 @@
margin: 0 auto;
}

section
{

width: 60%;
margin: 0 auto;

}

section section
{

width: 100%;
margin: 0 auto;
}

h1
{
border-bottom: 1px solid grey;

}

header
{

background-color: black;
height: 45px;
}

ul
{
margin-top: 7px;
}
nav
{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of your formatting here is a little hard to follow. Think the most common implementation is

CSS_Selector{
  field: value;
}

float: right;
margin-right: 25px;
}

span
{
text-decoration: none;
font-size: 28px;
color:white;
display: inline-block;
margin-top: 6px;
margin-left: 25px;
}

li
{
float:left;
list-style-type: none;
}

span a
{
text-decoration: none;
color: white;
}

nav ul li a
{

display: block;
padding: 5px;
color: white;
}

footer{
border-top: 1px solid grey;
}

/*section:nth-child(2):before {
content: "_______________________________";
color:grey;
}*/
/*Put your code here*/