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

@remino/dress.css

v2.0.0

Published

The little black dress of CSS

Downloads

6

Readme

dress.css

The little black dress of CSS.

Site | Code Repo | NPM Package

By Rémino Rem https://remino.net/


Minimal style for semantic HTML

Introducing dress.css, a minimalist class-less stylesheet that makes your pages look good only by writing HTML.

This simple stylesheet was born from three things:

  • How the rendering of HTML without CSS hasn't changed much since the first Web browser in 1991.
  • How common readers in some browsers (like the one in Safari) simplifies the styling the pages to focus on legibility.
  • How writing CSS for simple pages is painful or at least time-consuming.

Much of this stylesheet was inspired from new.css, with a few changes to vertical rhythm and markup for button links, and no external fonts.

This stylesheet was formerly known as sem.css in version 1.2.4, and renamed as dress.css in version 2.0.0.

Back to top


Features

  • Small: Around 3 KiB, gzipped.
  • Class-less: No need to add classes to your HTML elements.
  • Modern: Uses CSS variables, viewport sizes, and flexbox.
  • Readable: Focus on the content, not the style.
  • Responsive: Uses relative units, works well on all screen sizes.
  • Accessible: Uses semantic HTML elements and ARIA roles.
  • Printable: Looks good on paper. Shows external link URLs.
  • Localizable: Works both with left-to-right and right-to-left languages.
  • Customizable: Add your own styles on top of it, or add a theme by changing variables.

Back to top


Installation

There are many ways to include this stylesheet in your code. Here are a few examples:

HTML

Add the stylesheet to your HTML and write your content:

<link rel="stylesheet" href="https://unpkg.com/@remino/dress.css/dist/dress.css">

NPM

Install the package from NPM:

npm install dress.css

Then the stylesheet file should be available at node_modules/dress.css/dist/dress.css.

Use the file in your Sass files, or include it in your CSS, etc.

Download

Download the dress.css file from the GitHub releases.


Usage

To know which HTML tags are handled by this stylesheet with some suggested markup, see Elements.

Back to top


Browser Support

The dress.css stylesheet was checked with doiuse:

❯ doiuse -b 'defaults' -v dist/dress.css
[doiuse] Browsers: Firefox 129, Firefox 128, Chrome for Android 127, Firefox for Android 127, Android Browser 127, Chrome 127, Edge 127, Firefox 127, Chrome 126, Edge 126, Chrome 125, Firefox 115, Opera 111, Opera 110, Chrome 109, Opera Mobile 80, Samsung Internet 25, Samsung Internet 24, Safari on iOS 17, Safari on iOS 17, Safari 17, Safari 17, Safari on iOS 16, UC Browser for Android 15, Safari on iOS 15, QQ Browser 14, KaiOS Browser 3, KaiOS Browser 2, Opera Mini NaN

While dress.css should work in the latest version of major browsers, it seems to have issues in some less-popular mobile versions, like Opera Mini. This stylesheet is not meant for legacy support.

Back to top


Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a pull request

Back to top


License

Distributed under the ISC License. See License.

Back to top