Giter Club home page Giter Club logo

css-handbook's Issues

background-position css3 [3、4 values] 说明有误

Properties -> background -> background-position
说明中的第二条:
给偏移量添加关键字时只有边界left-right-top-bottom,而不能是center。

标准中说的是
If three or four values are given, then each or represents an offset and must be preceded by a keyword, which specifies from which edge the offset is given.

edge应该不包括center。

\properties\positioning\position.htm

文件第二行写错啦
<html lang="zh-cmn-Hansn">
应该是:
<html lang="zh-cmn-Hans">
建议用编辑器批量替换所有页面的此行,不要手写
手写可能出现上述错误

发现死链接一处

/introduction/change-list.htm
此页面中的<a href="../values/content/counters.htm">counters</a>

运行代码里的问题?

css hack中条件hack里面的代码在IE11里面会显示“您正在使用 非IE浏览器 ”,其他的没测!

发现一个页面链接错误

http://gucong3000.github.io/css-book/values/image/linear-gradient().htm
此页面有几个链接到404
angle:用角度值指定渐变的方向(或角度)。angle链接到404
length:用长度值指定起止色位置。不允许负值 length链接到404
percentage:用百分比指定起止色位置。percentage链接到404
http://gucong3000.github.io/css-book/values/image/radial-gradient().htm
http://gucong3000.github.io/css-book/values/image/repeating-linear-gradient().htm
http://gucong3000.github.io/css-book/values/image/repeating-radial-gradient().htm
percentage①:用百分比指定径向渐变圆心的横坐标值。可以为负值。percentage链接到404
length①:用长度值指定径向渐变圆心的横坐标值。可以为负值。 length链接到404
本页面涉及到这几个页面都是404
这几个问题修复, 应该就都可以了, 所以, 不在一一列举

浏览器兼容数据

一个个去更新浏览器兼容性数据太麻烦了,我这边一直在构思,node下调用caniuse.com的数据来自动化完成此项工作,不知大神您有没有思路呢?咱吧grunt或者gulp搞进来怎样?

cursor属性: *.jpg 重复

原文:
Firefox, Chrome, Safari既支持特定图片类型也支持常见的*.jpg, *.gif, *.jpg等图片格式。

应为:
Firefox, Chrome, Safari既支持特定图片类型也支持常见的*.png, *.gif, *.jpg等图片格式。

相关版本V4.1.5

flex-direction的取值错误

页面上:

取值:
row:
横向从左到右排列(左对齐),默认的排列方式。
row-reverse:
反转横向排列(右对齐,从后往前排,最后一项排在最前面。
column:
纵向排列。
row-reverse:
反转纵向排列,从后往前排,最后一项排在最上面。

正确:

取值:

row:
横向从左到右排列(左对齐),默认的排列方式。
row-reverse:
反转横向排列(右对齐,从后往前排,最后一项排在最前面。
column:
纵向排列。
column-reverse:
反转纵向排列,从后往前排,最后一项排在最上面。

关于属性选择符的说明

关于E[att|="val"]的说明好像有点小问题:
原描述:选择具有att属性且属性值为以val开头并用连接符"-"分隔的字符串的E元素。
实际上应该是:属性值为val(-\w+)*,连接符"-"不是必须的。

速查总表中的链接错误

很遗憾楼主删掉了gulp脚本,我这边保留着,今天合并您的分支后跑gulp发现有死链接:
发现死链接(文件不存在): properties/text/text-size-adjust.htm
发现死链接(文件不存在): properties/only-webkit/tap-highlight-color.htm
发现死文件(没有链接指向此文件): properties\speech\index.htm

text-overflow "移除"是什么意思 超出吧

clip:
当内联内容移除块容器时,将溢出部分裁切掉。
ellipsis:
当内联内容移除块容器时,将溢出部分替换为(...)。
“移除”是什么鬼,是表达超出的意思么?

文档格式优化

现在想添加点东西,感觉首先得熟悉html结构,是否考虑统一文档格式,比如用md文档,然后约定某些key&&value,然后用nodejs来跑整个网站,这样上手略快吧,比如:

# Properties Level Hack
## dir
hack

## description
css属性级Hack

## example
xxxxxxx

当然配置也可以走package.json格式...只是想法~

问个非技术性问题

@doyoe
最近一直在找好点的CSS手册,发现了你的佳作,非常厉害,整个手册的外观也做得非常好。
我最近也有打算自己做个好点的手册出来,网上有些手册错误太多了,我想问问:
手册的每个页面都是手写的吗?或者复制套模板,或者用什么工具?
如果发现以前的页面布局排版有问题,你们是一个个页面去手工排查,或者写程序来处理?

另外,您的网站左侧的树形列表是从数据库动态查询的,还是静态的HTML代码?
主要是考虑到页面太多,回头发现错误,维护起来比较麻烦。希望能听听你们的经验,以便于我少走弯路,越详细越好,谢谢~!

IE9+仅支持使用 vm 代替vmin

IE9+仅支持使用 vm 代替vmin的表述不对
该问题仅仅存在于IE9,IE10并不存在,所以该去掉文案中的+
\values\length\vmin.htm

笔误

\css-handbook\properties\media-queries\grid.htm:
105: 5.1。7

list-style

list-style 语法的描述 list-style:[ list-style-image ] || [ list-style-position ] || [ list-style-type ] 后面的顺序是不是错了?

\values\image\radial-gradient().htm

<li id="support2">IE6.0-9.0使用私有滤镜来实现该效果: <a href="http://msdn.microsoft.com/en-us/library/ms532997(VS.85,loband).aspx" rel="external" class="external" target="_blank">progid:DXImageTransform.Microsoft.Gradient()</a></li>
请删除此行,IE并不能使用滤镜来兼容此属性

html语法错误

\properties\background\background-origin.htm
\properties\background\background-clip.htm

这两个文件中,少写了一个空格

<td class="support"rowspan="3">3.0+</td>

应该为:

<td class="support" rowspan="3">3.0+</td>

HTML 代码语法错误,约7处

1 error found in /properties/border/border-bottom-color.htm[L134:C4] Tag must be paired, Missing: [ </li> ] (tag-pair)</ol>

1 error found in /properties/border/border-left-color.htm[L134:C4] Tag must be paired, Missing: [ </li> ] (tag-pair)</ol>

1 error found in /properties/border/border-right-color.htm[L134:C4] Tag must be paired, Missing: [ </li> ] (tag-pair)</ol>

1 error found in /properties/border/border-top-color.htm[L134:C4] Tag must be paired, Missing: [ </li> ] (tag-pair)</ol>2 errors found in /rules/@media.htm[L81:C1] Special characters must be escaped : [ < ]. (spec-char-escape)<?xml-stylesheet media="screen and (width:800px)" rel="stylesheet" href="example.css" ?></xmp></code></blockquote>[L81:C88] Special characters must be escaped : [ > ]. (spec-char-escape)<?xml-stylesheet media="screen and (width:800px)" rel="stylesheet" href="example.css" ?></xmp></code></blockquote>

1 error found in /quicksearch.htm[L672:C10] Id redefinition of [ content ]. (id-unique)<section id="content" class="g-mod g-attr">

1 error found in /selectors/relationship/e-child-f.htm[L64:C56] Special characters must be escaped : [ > ]. (spec-char-escape)<blockquote class="gquote-cont"><code><xmp>.demo > div {

1 error found in /selectors/relationship/ef.htm[L77:C127] Special characters must be escaped : [ > ]. (spec-char-escape)<p class="gquote-info">此例,如果使用<code class="incode">.demo div</code>,那么 0, 1, 2, 3 都有有边框;如果使用 <code class="incode">.demo > div</code>,那么只有 0 有边框,即只有子元素会被命中;</p>3 errors found in /values/image/image-set().htm[L102:C7] Special characters must be escaped : [ < ]. (spec-char-escape)<td class="support"rowspan="2">15.0-28.0<br /><sup class="fix">-webkit-</sup> <sup><a href="#support1">#1</a></sup></td>[L102:C37] Special characters must be escaped : [ > ]. (spec-char-escape)<td class="support"rowspan="2">15.0-28.0<br /><sup class="fix">-webkit-</sup> <sup><a href="#support1">#1</a></sup></td>[L102:C122] Tag must be paired, No start tag: [ </td> ] (tag-pair)<td class="support"rowspan="2">15.0-28.0<br /><sup class="fix">-webkit-</sup> <sup><a href="#support1">#1</a></sup></td>

1 error found in /values/textual/url.htm[L82:C1] Tag must be paired, Missing: [ </url></string> ] (tag-pair)</xmp></code></blockquote>

关于左边栏水平滚动条的问题

2015-02-08-2032-003

左边栏是固定宽度为270,在_skin\layout.css_中。
skin\layout.css
#side{width:300px;}
#main{left:310px;}
让main和side增加30,水平滚动条就消失了。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.