@tfs-8/basecss

BaseCSS is a lightweight css library designed to simplify responsive and scalable web design.


Keywords
css, library, responsive-design, lightweight-css, minimal-css, frontend, web-design, modern-css, css-library, cs, mfm3478
License
MIT
Install
npm install @tfs-8/basecss@0.9.5

Documentation

BaseCSS

Version Downloads

BaseCSS is a minimal and flexible CSS library designed for fast, responsive, and maintainable web development. Ideal for developers looking for simplicity and scalability.

Features

  • CSS Reset: Standardizes browser behavior for consistent styling.
  • Responsive Typography: Automatically adjusts font sizes for optimal readability on different screen sizes.
  • Minimal Styling: Provides a clean slate for building custom designs.

Using BaseCSS via NPM

Installation

To install the package, use the following command:

npm i @tfs-8/basecss

Importing

In Plain HTML:

Link the CSS file in your <head> tag:

<link rel="stylesheet" href="node_modules/@tfs-8/basecss/base.min.css" />

In a JavaScript/TypeScript Project:

Import the CSS in your entry file:

import "@tfs-8/basecss/base.min.css";

In SCSS:

If you're using SCSS:

@import "node_modules/@tfs-8/basecss/base.min.css";

Using BaseCSS via CDN

Installation

To use the CDN, link to the following URL:

https://unpkg.com/@tfs-8/basecss/base.min.css

Importing

In Plain HTML:

Link the CSS file in your <head> tag:

<link rel="stylesheet" href="https://unpkg.com/@tfs-8/basecss/base.min.css" />

In a JavaScript/TypeScript Project:

Import the CSS in your entry file:

import "https://unpkg.com/@tfs-8/basecss/base.min.css";

In SCSS:

If you're using SCSS:

@import "https://unpkg.com/@tfs-8/basecss/base.min.css";

Getting Started

Once BaseCSS is imported, it will:

  1. Reset the default browser styles for consistency.
  2. Apply responsive typography for better readability.
  3. Provide a clean slate for adding your custom styles.

You can now start building your styles on top of this foundation.

Contributing

We welcome contributions! Please check the CONTRIBUTING.md for guidelines.

Credits

Created with ❤️ by @MFM-347.

License

The code in this repository is licensed under the MIT License.

License MIT