Socket
Socket
Sign inDemoInstall

tailwindcss

Package Overview
Dependencies
149
Maintainers
4
Versions
1678
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tailwindcss

A utility-first CSS framework for rapidly building custom user interfaces.


Version published
Weekly downloads
7.2M
decreased by-16.12%
Maintainers
4
Install size
39.9 MB
Created
Weekly downloads
 

Package description

What is tailwindcss?

Tailwind CSS is a utility-first CSS framework for rapidly building custom user interfaces. It is a highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without any annoying opinionated styles you have to fight to override.

What are tailwindcss's main functionalities?

Responsive Design

Tailwind uses responsive design modifiers like 'md:' and 'lg:' to change styles based on the screen size.

<div class='bg-blue-500 md:bg-red-500 lg:bg-green-500'></div>

State Variants

Tailwind provides state variants like 'hover:' and 'focus:' to apply styles on different element states.

<button class='bg-blue-500 hover:bg-blue-700 focus:outline-none focus:ring'></button>

Utility Classes

Tailwind offers utility classes for spacing, sizing, colors, and more, allowing for a quick and easy styling process.

<div class='p-4 max-w-sm mx-auto'></div>

Customization

Tailwind can be customized through the tailwind.config.js file, allowing you to define your own colors, spacing, and more.

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'custom-color': '#da20d8'
      }
    }
  }
};

Other packages similar to tailwindcss

Readme

Source

Tailwind CSS
A utility-first CSS framework for rapidly building custom user interfaces.

Build Status Total Downloads Latest Release License


Documentation

For full documentation, visit tailwindcss.com.

Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discuss Tailwind CSS on GitHub

For casual chit-chat with others using the framework:

Join the Tailwind CSS Discord Server

Contributing

If you're interested in contributing to Tailwind CSS, please read our contributing docs before submitting a pull request.

FAQs

Last updated on 29 Oct 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc