ress

一个现代的 CSS 重置。(🚿 A modern CSS reset)

Github星跟踪图

A brunch and the ress name

Modern CSS reset

Build Status Size npm

Installation

npm install --save ress

or

bower install --save ress

Features

  1. Apply box-sizing: border-box; in all elements.
  2. Reset padding and margin in all elements.
  3. Specify background-repeat: no-repeat in all elements and pseudo elements.
  4. Inherit text-decoration and vertical-align to ::before and ::after.
  5. Remove the outline when hovering in all browsers.
  6. Specify font-family: monospace in code elements.
  7. Reset border-radius in input elements.
  8. Specify font inheritance of form elements.
  9. Remove the default button styling in all browsers.
  10. Specify textarea resizability to vertical.
  11. Apply cursor: pointer to button elements.
  12. Apply tab-size: 4 in html.
  13. Style select like a standard input.
  14. Style cursor by aria attributes.
  15. Hide content from screens but not screenreaders.

Crossbrowser

ress uses Normalize.css under the hood with some customizations to apply a solid base to start your stylesheet.

Browser support

Inherit from Normalize

CDN

unpkg

https://unpkg.com/ress/dist/ress.min.css

RawGit

# Production
https://cdn.rawgit.com/filipelinhares/ress/master/dist/ress.min.css

# Development
https://rawgit.com/filipelinhares/ress/master/dist/ress.min.css

License

MIT © Filipe Linhares

主要指标

概览
名称与所有者filipelinhares/ress
主编程语言CSS
编程语言CSS (语言数: 1)
平台Web browsers
许可证MIT License
所有者活动
创建于2015-08-19 17:40:00
推送于2023-06-12 22:47:09
最后一次提交2023-06-12 19:47:03
发布数18
最新版本名称5.0.2 (发布于 )
第一版名称v0.3.0 (发布于 )
用户参与
星数2.1k
关注者数36
派生数431
提交数105
已启用问题?
问题数13
打开的问题数0
拉请求数13
打开的拉请求数2
关闭的拉请求数3
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?