npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

rocssti

v4.4.1

Published

Röcssti is a lightweight, extensible and responsive CSS to start your projects. This CSS micro-framework is especially designed for starting responsive websites. LESS and Sass versions are also available, with a mobile-first version for Sass.

Downloads

68

Readme

RÖCSSTI: to start CSS easily!

RÖCSSTI – pronounce "Roshti" – is a CSS micro-framework.

The name – absolutely ridiculous – is a friendly reference to KNACSS, a great CSS micro-framework CSS made by Raphaël Goetter, from which RÖCSSTI uses some elements, arranged by myself to answer to my work needs.

The goals are:

  • Having a workflow (including order and naming convention);
  • Having a structure that allows to go from global to particular;
  • Thinking of a good CSS startbase, including accessibility elements, as skip links, to avoid forgetting them;
  • Having a reusable class system (DRY: Don't Repeat Yourself);
  • Having some nice and practical tips that enhance integration and use of a website;

To sum up, having a strong CSS base, used for and built from professional realisations.

RÖCSSTI has also LESS ans Sass versions, see in "less" ans "Sass" folders. All versions are maintained in french and english.

Information: to my knowledge, RÖCSSTI has been used for about 130 websites, starting from simple ones to more complex responsive ones. The time gained at the beginning of the projects and the reusability of classes are perceptible.

Röcssti builder

If you don’t want or have the possibility to use versions with pre-processors, you may use this tool: https://rocssti.net/en/builder-css

Röcssti is on NPM

You can do npm install rocssti to get all the files.

Coding conventions

  • Indent: 2 spaces for properties
  • No use of !important, that's bad!
  • Use percents when it is possible
  • Properties are written like this:

On a line (1 or 2 max): p { margin: 0 0 1em; }

On several lines:

h1,
.h1 {
  font-size: 1.8571em;
  /* etc. */
}
  • Use of low-case characters for hex values, e.g. #efe
  • Use of compact notations, e.g. margin: .5em;
  • No unit for null values, when it is allowed, e.g. margin: 0;
  • CSS Properties are displayed in alphabetical order, when it is possible.

View the doc and some examples: https://rocssti.net/