一个微小的现代CSS reset

网友投稿 633 2022-11-04

一个微小的现代CSS reset

一个微小的现代CSS reset

minireset.css

A tiny modern CSS reset that covers the basics:

resets the font sizes: so that using semantic markup doesn't affect the stylingresets the block margins: so that the spacing is only applied when you need itresets tables: so that tabular data only takes the space it needspreserves the inline paddings: so that buttons and inputs keep their default layoutsets the border-box box sizing: so that borders and paddings don't affect the set dimensionssets responsive media elements: so that images and embeds scale with the browser width

Download/Install

Download the latest version

npm install minireset.css

Or clone the repo.

CDN

GitHub CDN for minireset.min.css

Copyright and license

Code copyright 2019 Jeremy Thomas. Code released under the MIT license.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Flutter的昼夜切换小部件
下一篇:高分面试分析jvm如何实现多态
相关文章

 发表评论

暂时没有评论,来抢沙发吧~