css-creating icon indicating copy to clipboard operation
css-creating copied to clipboard

CSS创作指南

Results 10 css-creating issues
Sort by recently updated
recently updated
newest added

CSS 规范中定义了一些保留关键字,我们应该在 `` 中避免使用这些值。历史遗留原因,虽然当前某些浏览器支持这些值,但在将来可能会禁用,这会导致相关 CSS 失效。 TODO: CSS 示例 ```css ``` 详见: - https://github.com/w3c/csswg-drafts/issues/7170 - https://github.com/w3c/csswg-drafts/issues/7439 这些关键字当前散落在不同的规范,包括: ## css-values-4 https://www.w3.org/TR/css-values-4/#common-keywords Defined: - `initial` - `inherit` - `unset` ## css-cascade-4 https://drafts.csswg.org/css-cascade/#defaulting-keywords...

讨论:https://github.com/w3c/csswg-drafts/issues/1162 规范变更:https://github.com/w3c/csswg-drafts/commit/602789171429b2231223ab1e5acf8f7f11652eb3 Chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=569703 Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1234357 Testcase: http://media.junglecode.net/test/linear-gradient/linear-gradient.html ```css .chromebug { background: linear-gradient(0, red, blue); width: 200px; height: 200px; } ```

http://tabatkins.github.io/specs/css-apply-rule/#using https://github.com/yisibl/perfectionist-test/blob/master/perfectionist/at-apply.css

``` //开启自动换行 "word_wrap": true, //可以添加多个标尺 "rulers": [80, 100, 120], //设置换行宽度 "wrap_width": 80 ```

例如: 1. `-webkit-overflow-scrolling: touch;` 用于修复`overflow: scroll`时不能平滑滚动的问题。 - 支持情况:iOS5 beta1 + - 实现原理:http://blog.csdn.net/hursing/article/details/9186199 - 解决方案:使用`iScroll`模拟 2. [[译] iOS 7 之 HTML5 综合测评:亮点、缺点和槽点](https://github.com/cssmagic/blog/issues/33) 3. Android 2.3 -webkit-border-radius 不支持 % 单位? 4. [Android...

浏览器支持情况,bug 等。 [CSS 属性取值「initial」和「inherit」的区别是什么?](http://www.zhihu.com/question/21637095) MDN https://developer.mozilla.org/en-US/docs/Web/CSS/inherit https://developer.mozilla.org/en-US/docs/Web/CSS/initial

https://docs.google.com/document/pub?id=17dKkWwdaKyNnkwswihHje2cfoMGqbSJLydTIxqFwlQU

整个文档没有描述关于命名规则的条例,应该补充上去