Socket
Book a DemoInstallSign in
Socket

rocssti

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rocssti

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.

4.4.1
latest
npmnpm
Version published
Maintainers
1
Created
Source
RÖCSSTI

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/

Keywords

css

FAQs

Package last updated on 04 Mar 2019

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.