Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

stylus

> 前端框架
Open source

Expressive, robust, feature-rich CSS language built for nodejs

11.3K stars0 likes1 views
WebsiteGitHub

About

Expressive, robust, feature-rich CSS language built for nodejs

Stylus is a revolutionary new language, providing an efficient, dynamic, and expressive way to generate CSS. Supporting both an indented syntax and regular CSS style.

Sponsors

You can sponsor stylus ongoing development via opencollective or paypal !

    </a>
  </td>
  <td width="50%" align="center">
    <a href="https://www.mojotech.com/">
      
    </a>
  </td>
</tr>
<tr>
  <td width="50%" align="center">
     <p style="font-size: 30px">Your Logo</p>
  </td>
  <td width="50%" align="center">
    <a href="https://www.paypal.com/paypalme/iChenLei/">
      
    </a>
  </td>
</tr>

Backers

Installation

bash
$ npm install stylus -g

Basic Usage

Watch and compile a stylus file from command line with

bash
stylus -w style.styl -o style.css

You can also try all stylus features on stylus-lang.com, build something with stylus on codepen or RunKit

Community modules

  • https://github.com/stylus/stylus/wiki

Stylus cheatsheet

  • Stylus cheatsheet, very useful stylus syntax code snippet for you

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Contribution

Please read our Contribution Guide before making any pull requests to the project. Included are directions for opening issues, workflows, and coding standards.

Thank you to all the people who already contributed to Stylus!

License

MIT

Copyright (c) 2010-present TJ and Stylus maintainers

Issues· 282 open

View all issuesOpen on GitHub
  • #2959

    Add @twig as alias for @css

    Updated Jul 23, 2026
  • #2958

    Merge repeated src declarations in @font-face into comma-separated list

    Updated Jul 23, 2026
  • #2732

    Environment dependent "Maximum call stack size exceeded" error

    t: BugUpdated May 5, 2026
  • #2849

    Support for Stylus variables in @container queries just like in @media queries

    Updated Mar 29, 2026
  • #2746

    CSS Container Queries (@content): Stylus adds "&&" where we should get "and"

    Updated Mar 27, 2026
  • #2584

    Stylus should not overwrite CSS built-in functions, such as min and max

    t: Bugp: Highhelp wantedUpdated Feb 17, 2026
  • #2883

    Deprecation warnings for inflight and glob

    Updated Jan 17, 2026
  • #2591

    Incorrect handling of negated media queries (`@media not` ...)

    t: Bugw: UnconfirmedUpdated Nov 22, 2025
  • #1058

    Remove the compression from Stylus

    t: EnhancementUpdated Nov 21, 2025
  • #2950

    An exception occurs when using both tabs (\t) and spaces for indentation.

    Updated Oct 24, 2025

> Tags

JavaScriptcsspreprocessorstylstylus

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架