| |||||
It features a very simplistic and easy to learn/use syntax which compiles into usable CSS code.
Supports both an indented syntax and regular CSS style.
Here are some key features of "Stylus":
· CSS syntax support
· Mixins
· Keyword arguments
· Variables
· Interpolation
· Arithmetic, logical, and equality operators
· Importing of other stylus sheets
· Introspection API
· Type coercion
· Conditionals
· Iteration
· Nested selectors
· Parent reference
· In-language functions
· Variable arguments
· Built-in functions
· Optional image inlining
· Optional compression
· JavaScript API
· Extremely terse syntax
· Stylus executable
· Error reporting
· Single-line and multi-line comments
· CSS literal
· Character escaping
· @keyframes support & expansion
· @font-face support
· @media support
· Connect Middleware
· Ruby on Rails support
· TextMate bundle
· gedit language-spec
· VIM syntax
· Firebug extension
· Transparent vendor-specific function expansion
Requirements:
· JavaScript enabled on client side
· Node.js 0.4 or higher
What's New in This Release: [ read full changelog ]
· Added sync API.
· Fixed unsuppressed comments in nested imports.

Via: Stylus 0.32.1






0 Comment:
Post a Comment