csstips
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

What's here

A bunch of csstips that you can use with TypeStyle. What is a csstip?

  • A function that returns a mixin (e.g. padding)
  • A mixin (e.g. flexbox stuff).
  • Functions to make page setup easier (setupPage) and CSS designs consistent (normalize).

Quick exploration

Just use TypeScript autocomplete e.g

import * as csstips from "csstips" 
import {style} from "typestyle" 
 
<div className={style(csstips.scroll)}>
  .....Insert a big block of dom here....
<div>

It essentially makes it easier for:

  • Beginners to explore CSS.
  • Experts to review CSS / intent.
  • Provides examples for how to create mixins / mixin creating functions for TypeStyle.

Docs

https://typestyle.github.io

/csstips/

    Package Sidebar

    Install

    npm i csstips

    Weekly Downloads

    3,990

    Version

    1.2.0

    License

    ISC

    Unpacked Size

    68.8 kB

    Total Files

    34

    Last publish

    Collaborators

    • basarat
    • notoriousb1t