Giter VIP home page Giter VIP logo

css-positioning's Introduction

CSS Positioning: Instagram

One of the best ways to sharpen your CSS skills is to try to recreate an existing style and layout, so take a look at the deliverable below, work with a partner, and build your own version of Instagram.com. Don't worry if you can't get it to look exactly as you see but try your best to get as close as possible.

There's a bit of starter code, so you can jump right into it.

##Getting Started

The provided template contains all the files, images, and text content needed to create the page. The text is in the index.html, and the color palette is in style.css. In addition, you'll want to setup the BrowserSync server and CSS linters by setting up the following:

  • Run npm install to install dependencies
  • Run npm run lint:css to lint your CSS
  • Run npm start to start the BrowserSync server

##Requirements

  • Use positioning selectors and the box model to position elements on the page
  • Look up and use CSS properties and values that may not have been covered in class. Be sure to use MDN or search engines for documentation. For example:
    • background: url("YOUR-LINK.COM")
    • list-style
    • text-decoration
    • text-transform
  • Use a single external CSS stylesheet to style all pages
  • Use the images provided to construct the appropriate elements on the page:
    • the iPhone
    • App Store and Google Play buttons
    • Instagram Logo
    • Login button
    • Blue gradient. There's a couple different ways to do this:
      • repeat an image using background-repeat on bgtile.png (the old way)
      • use CSS3 gradients (the new way)
  • Get the page as close to the deliverable as possible.

Deliverable

Please find a screenshot of the expected result below:

Instagram lab Screenshot

Additional Resources


Licensing

  1. All content is licensed under a CC-BY-NC-SA 4.0 license.
  2. All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact [email protected].

css-positioning's People

Contributors

bhague1281 avatar

Watchers

James Cloos avatar Muhammad Irsyad avatar

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.