/starter-html-sass-js-webpack

This is just a starter template for HTML. It uses webpack and npm

Primary LanguageCSS

Site with Webpack Boilerplate

Golden rule: Keep It Simple and Straightforward (KISS)

Keep it simple and straightforward but good enough so it can become a large site or application.

Install dependencies

  • Run npm install

Development

Resources

Publish

Run npm run build

Discussions

Rendering high resolution images

This repo uses retina.js to serve high-resolutions images to devices with retina display. It renders two images per image, one x1 and another x2, it means that the work is left for the browser. This method is not recomended for big sites. Instead try to serve the right image from the server.

A good article about this is here:

Retina & Hi-Resolution Displays: The ultimate guide to preparing your websit

Responsive site and media queries usage

The Difference Between Responsive and Adaptive Design

This repo uses media queries within the sass file. The sass way!

How-to / Guidelines

ToDo

Lots to do. But at least it is a start.