Git Product home page Git Product logo

basic-css-right-nav's Introduction

Layout Drill Right Hand Navigation

Learning Competencies

  • discern difference between markup and presentation
  • edit presentation layer to achieve a new layout
  • position using css float

Summary

We're going to learn some fundamentals about webpage layout. You'll have a fixed HTML file to work with and your job is to change the CSS and only the CSS to achieve the desired layout.

The /source directory contains a basic HTML file (blog.html) that models a blog post, including:

  1. A page header
  2. A navigation bar
  3. The blog post content
  4. A footer

NOTE: This is slightly different source content than the left-hand and right-hand navigation challenges. Make sure you use the correct source gist!

If you're not familiar with floating in CSS, you might need to take time to read these resources:

CSS is weird and frustrating for most engineers. The model seems inconsistent and strange at first, but the engineers who master it are treated with awe and reverence.

Releases

Release 0 : Implement Right-hand Navigation

As closely as you can, edit the main.css file so that the blog post now looks like this:

The entire page is 720px wide; don't change that. The entire .content area should be 600px wide, including any padding and borders. The content area should be flush against the left-hand side of the page.

The right-hand navigation should be 120px wide including any padding and borders. There should be 20px of space between the content area and the right-hand navigation.

The footer text should align with the start of the content text and there should be 20px of space between the footer text and both the bottom of the content area and the bottom of the page.

Resources

basic-css-right-nav's People

Contributors

aespaldi avatar

Watchers

James Cloos avatar Christina Taggart avatar

Forkers

jepetersohn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.