Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

carrot-css

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

carrot-css

A simple CSS starter, that assume as less as possible

  • 0.3.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

Carrot CSS

Carrot CSS is a CSS Starter or micro-framework, it is not a framework as it does and assume way less, but this is more than a reset, as it give you a sane boilerplate for you to write your own CSS code.

To know more please refer to the documentation

Why Carrot CSS ?

Carrot CSS is a stable foundation for your projects, it is lightweight and CSS only. It use CSS variables and have built-in theme support, and the whole thing is understandable and easily customizable. And also, Carrot CSS don't go too far, it only weight 4.2kB gzipped and does just what you need, no more.

This library should be used by people that actually intend to write CSS, as it is not a component library, does not offers much styling and is not an utility library. This is not meant to stops you from writing CSS, but to start your CSS from a right basis.

Features

  • Style Reboot: A reset and some base style for elements
  • Sane base: Gets the font right, well named variables and theming support
  • Utilities: A great color palette, some layout utilities and button styles

Installation

Start by adding this line to your <head>:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/carrot-css/dist/carrot.min.css">

You can also use a package manager, and we actually recommends that approach, more on the Installation documentation.

When Carrot CSS is imported, you're all set!

Getting started

To get started, refer to the documentation page.

Bonus and Badges

npm bundle size (scoped) npm GitHub last commit

ForTheBadge built-with-love

FAQs

Package last updated on 03 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc