Coder Social home page Coder Social logo

extended-normalize.css's Introduction

extended-normalize.css

GitHub license GitHub release

CSS normalize with basic additional styles

Why extended-normalize.css ?

  • While writing CSS, a general convention is to "normalize" the default browser's stylesheet.
  • This helps in maintaining style consistency across variety of devices and browsers.

After normalizing, we be like,

Okay, now everything is "normalized".

But...

  • The button looks kinda boring.
  • The typography is inconsistent among various HTML tags; including input-fields, tables, buttons, select-options, etc.
  • The form-fields are dull.

The point is, there still remains some inconsistency.
Plus, the default style on buttons, form-fields, etc. are not "neat".

We can improvise upon this.

So, What does it actually do?

  • Inherits everything from normailze.css by Necolas Gallagher, i.e. normalizes default browser styles.
  • Makes the typography consistent among various HTML tags including input-fields, tables, buttons, select-options, etc.
  • Improves the appearance of form-fields, buttons, tables, and lists.
  • Makes other subtle style modifications on different tags to make them look neat.
  • Explains what code does using detailed comments.

A quick demo...

HTML file with and without extended-normalize.css applied;

How to use ?

Either, use NPM

npm install --save extended-normalize.css

Then, in your "main" js file,

import "extended-normalize.css";

Or, include this inside the "html" file, on the "head" tag

<link
  rel="stylesheet"
  href="https://unpkg.com/[email protected]/extended-normalize.css"
/>

Or, import in your "main" css file

@import url("https://unpkg.com/[email protected]/extended-normalize.css");

Or, view Raw

Author Rahul Dahal

extended-normalize.css's People

Contributors

rahuldahal avatar rahuldahal-zz avatar

Stargazers

Roman avatar

Watchers

 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.