Giter VIP home page Giter VIP logo

responsive-web-node-less's Introduction

Responsive Website using Node.js and LESS

Usage

From the root folder start the app: > node app.js Browse to http://localhost:3000

Tutorials

This web demo was created as a quick test to go over the very basics of responsive web design.

You can follow along and see the progression by going to this location: http://localhost:3000/html/

Based on the original building blocks of a responsive website, we start with a fixed width layout and convert it into a flexible layout, focuing on "mobile first".

Media queries are then added using a series of major and minor breakpoints.

The last step is to add support for basic responsive images.

You can see the fully finished site at either the final.html file or at the root of the project in the index.ejs template.

If you are interested you can also check out my presentation that goes along with this introduction on Slideshare at: http://www.slideshare.net/sspdf/responsive-websites

LESS

The examples use LESS to help with a few of the features, including dynamically calculating percentage based and em based sizes. The actual formula is from the book by Ethan Marcotte.

Notes

Please note that this sample is not fully finished, nor does it cover support for all browsers. It is only meant to be a starting point for those who want to get their feet wet with Responsive Design.

More

You can find me at http://seifi.org

responsive-web-node-less's People

Stargazers

GAURAV avatar  avatar Omkar Patil avatar Yueping Qian avatar

Watchers

James Cloos 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.