GithubHelp home page GithubHelp logo

jose8a / csslayout Goto Github PK

View Code? Open in Web Editor NEW

This project forked from phuocng/csslayout

0.0 1.0 0.0 17.52 MB

A collection of popular layouts and patterns made with CSS. Now it has 90+ patterns and continues growing!

Home Page: https://csslayout.io

License: MIT License

JavaScript 0.58% HTML 0.09% CSS 0.87% TypeScript 98.46%

csslayout's Introduction

CSS Layout

A collection of popular layouts and patterns made with CSS:

  • πŸŽ‰Zero dependencies
  • πŸŽ‰No frameworks
  • πŸŽ‰No CSS hacks
  • πŸŽ‰Real use cases
  • Good practices (coming soon)
  • Accessibility (coming soon)

CSS Layout

Why

Being a front-end engineer, I have to deal with a lot of layouts and components. There are a lot of CSS frameworks out there that provide popular layouts/components but I usually don't want to include all of them in my project.

So I collect most popular layouts and components that can be built with pure CSS. They are powered by modern CSS features such as flexbox and grid.

They are great starting points to be picked and customized easily for each specific need. By composing them, you can have any possible layout that exists in the real life.

The entire website is powered by

this
    .madeWith([react,typescript])
    .then(r => lint(tslint))
    .then(r => lazyLoad(@loadable/component))
    .then(r => optimizeAndBundle(webpack))
    .then(r => exportHtml(react-snap))
    .then(r => deploy(Netlify))
    .then(r => {
        expect(r).is(scalableCode);
        expect(r).is(superFastWebsite);
        expect(r).is(seoFriendly);
    })
    .finally(() => {/* Give me 1 star */}) πŸŽ‰

Running it on local

  • Clone the project:
$ git clone https://github.com/phuoc-ng/csslayout
  • Install the dependencies:
$ cd csslayout
$ npm install
  • Run it on the local:
$ npm run dev-server

Visit http://localhost:1234 to see it in action.

Contributing

PRs are welcomed. If you thing there are any missing useful layouts or patterns, please create an issue or submit a PR.

It's important to note that you should run the following command to lint the code:

$ npm run lint

If there is any issue, it will be logged in the tslint.log file.

About

This project is developed by Nguyen Huu Phuoc. I love building products and sharing knowledge.

Be my friend on

Products

You might be interested in my products:

1 LOC (3.3kβ˜…)

Favorite JavaScript utilities in single line of code

Blur Page

A browser extension to hide sensitive information on a web page

Check Browsers Support

A browser extension to check browser compatibility without leaving your tab

CSS Layout (2.7kβ˜…)

A collection of popular layouts and patterns made with CSS

Fake Numbers

Generate fake and valid numbers

Form Validation

The best validation library for JavaScript

HTML DOM (3.1kβ˜…)

How to manage HTML DOM with vanilla JavaScript

React PDF Viewer

A React component to view a PDF document

this VS that

The differences between ___ and ___ in the front-end development

csslayout's People

Contributors

phuocng avatar dependabot[bot] avatar marko-hologram avatar ryuno-ki avatar h7y avatar nowendwell avatar calinou avatar martinschilliger avatar malenkiki avatar rusco avatar econavi avatar everdimension avatar hchiam 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.