プロジェクト
概要
🚿 モダンなCSSリセット
Web・アプリ開発できること
- Apply box-sizing: border-box; in all elements.
- Reset padding and margin in all elements.
- Specify background-repeat: no-repeat in all elements and pseudo elements.
- Inherit text-decoration and vertical-align to ::before and ::after.
計測したスター増加
- 24時間
- 0
- 7日間
- +1
- 15日間
- +1
- 1か月
- +2
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
Modern CSS reset
Installation
npm install --save ress
or
yarn add ress
Features
- Apply
box-sizing: border-box;in all elements. - Reset
paddingandmarginin all elements. - Specify
background-repeat: no-repeatin all elements and pseudo elements. - Inherit
text-decorationandvertical-alignto::beforeand::after. - Remove the
outlinewhen hovering in all browsers. - Specify
font-family: monospacein code elements. - Reset
border-radiusin input elements. - Specify font inheritance of form elements.
- Remove the default button styling in all browsers.
- Specify textarea resizability to vertical.
- Apply
cursor: pointerto button elements. - Apply
tab-size: 4inhtml. - Style
selectlike a standard input. - Style
cursorby aria attributes.
Crossbrowser
ress uses Normalize.css under the hood with some customizations to apply a solid base to start your stylesheet.
Browser support
- Chrome
- Edge
- Firefox ESR+
- Internet Explorer 10+
- Opera
- Safari 8+
CDN
https://unpkg.com/ress/dist/ress.min.css
# Production
https://cdn.jsdelivr.net/npm/[email protected]/dist/ress.min.css
# Development
https://cdn.jsdelivr.net/gh/filipelinhares/ress@latest/dist/ress.min.css
License
MIT © Filipe Linhares
関連プロジェクトを探す
読み込み中…