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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?