CSS
共 6 篇文章
[转] 从一行CSS调试代码中学到的JavaScript知识
原文地址: http://arqex.com/939/learning-much-javascript-one-line-code?utm_source=ourjs.com http://www.iteye.com/news/30221 现在到处都是JavaScript,每天都能知道点新东西。一旦你入了门,你总能从这里或是那里领悟到很多知识。 一旦我发现一些有意思的东西,我喜欢去感觉他们的源代码,看一看它是怎么办到的。 今天我想分享Addy Osmani的一行代码,这行代码对于你调试你的CSS是很有用的。为了可读性,我把它变成了3行。 注* Addy Osmani 是Google Chrom…
2015-02-12 14:01 · CSS · CSS
让IE 6-9 支持 CSS3 | 让旧版本 IE 支持 CSS3
PIE makes Internet Explorer 6-9 capable of rendering several of the most useful CSS3 decoration features. http://css3pie.com/ Supported CSS3 Features border-radius box-shadow border-image CSS3 Backgrounds (-pie-background) Gradients RGBA Color Values PIE Custom Properties -pie-watch-ancestors PNG a…
2012-12-06 11:59 · CSS · IE8 · IE6 · CSS3 · IE9 · IE7
[原创] 浅谈 CSS display:none 对 SEO 及屏幕阅读器(screen reader)的影响
一提到 CSS 的 display:none,大家应该都很熟悉,如果需要将某 HTML 元素隐藏不显示的话,很多人都会使用它。也许你会问,这个还有必要再讲吗?且听我慢慢讲来。 现如今,很多网站都会使用 Tab, Slide 动画等这些常见的手段让用户能有好的使用体验,而且有时为了页面的简洁,我们也经常会用到 display:none 来达到隐藏元素的目的,再者很多鼎鼎大名的 JavaScript 库也会使用它,例如 jQuery。 既然大家都用 display:none,那么还有什么好谈的呢? 当然,合理合法的使用 display:none 对用户及 SEO 而言是正常的,搜索引擎也会去理会…
2012-11-15 11:47 · CSS · SEO · CSS · 搜索引擎 · JavaScript · seo
[转] CSS Preprocessors
今天上网时,无意间发现了一篇文章,是讲 CSS Preprocessors 的。好歹也工作了好几年了,还真不知道什么是 CSS Preprocessors,之前也没听说过。于是就上网调查了一下,还真神奇啊! 下面就发一下仙儿级大师的文章,讲的忒好了: http://www.vanseodesign.com/css/css-preprocessors/ 下面是文中提到的,三个主流的 CSS Preprocessors: Sass - http://sass-lang.com/ LESS - http://lesscss.org/ Stylus - http://learnboost.githu…
2012-11-02 10:59 · CSS · CSS
HTML5 CSS3 脚本库总结
啥都不说了,具体的介绍及使用就去 Google 吧。我在这里就是列出一出以后可能会用到的脚本库:(重点不是这些库如何使用,而是知道有这些库) 3D 引擎 three.js 代码: https://github.com/mrdoob/three.js 演示: http://alteredqualia.com/three/examples/webgl_cars.html http://alteredqualia.com/three/examples/webgl_shadowmap.html 基于 CSS3 的转换和过渡 impress.js 代码: https://github.com/cube…
2012-04-06 15:32 · JavaScript · HTML5 · CSS · HTML5 · JavaScript · WebGL · CSS3 · 3D
(转)CSS clearfix
原文地址如下: http://www.webtoolkit.info/css-clearfix.html See also: http://www.codecto.com/2011/02/css-clearfix-float/ CSS clearfix The problem happens when a floated element is within a container box, that element does not automatically force the container’s height adjust to the floated element. When a…
2012-02-09 16:02 · CSS · CSS · clearfix