- 博客(11)
- 资源 (2)
- 收藏
- 关注
原创 web aria 例子
Making Images AccessibleThe standard tag supports an alt attribute that provides an alternative, textual description of the image. That description is important for accessible websites, as users wi
2013-07-26 17:06:18 806
原创 css3 动画结束事件
getTransitionEvent = function () { var t, type, supported = false, el = document.createElement("fakeelement"), transitions = { "WebkitTransition" : "w
2013-07-18 17:37:06 1360
原创 div width=auto 与 width = 100% 区别
块级元素(div、p等)的初始宽度是auto。auto使块级元素占满父节点在水平方向上的所有可用空间。具体公式如下:‘margin-left'+border-left-width'+'padding-left'+'width'+'padding-right'+'border-right-width'+'margin-right' = width of containing block请参考
2013-07-16 11:20:25 2613
翻译 w3c 文档进度 里程碑
Working Draft: Working Drafts are published and announced specifically to ask for review and input from the community. Often there are issues that a Working Group would particularly like input on. U
2013-07-15 18:49:01 828
转载 web标准—可用性、可维护性、可访问性
一直听说过web标准的可用性、可访问性、可维护性,但是具体的定义,我还是不是很清楚,今天总结下,理清一下思维。 在Web前端开发界,有三个词经常被提及:可用性(Usability)、可访问性(Accessibility)和可维护性(Maintainability)。可用性指的是:产品是否容易上手,用户能否完成任务,效率如何,以及这过程中用户的主观感受可好,是从用户的角度来看产品的质量。
2013-07-15 17:44:06 880
转载 增强网站可访问性的25种方法
随着web使用量的增加和人们网络意识的增强,可访问性(或“通用设计”)变得更加重要。可访问性不仅取决于一个网站的代码,还受网站设计和内容的影响,这就是为什么可访问性、标准和可用性关系如此紧密。网页无障碍是一个庞大的课题,已自成一个领域。 但不要被它吓到。无障碍并不是非常难以实施。它并不会像一些人想象的会有碍美观或影响交互。这是一种高明的(smart)设计和开发方式。让我们来看看建立
2013-07-15 17:38:28 3217
原创 ie6 filter png a 链接不可点击
问题 png 24 要想在ie6下显示半透明效果,必须借助ie 的filter 功能。而在filter 节点下的 子节点,如果有a链接,那么点击不会有任何反应。怎样让这种情况下的a链接正常反应呢?解决思路:初看了下ie filter 的原理,上述问题产生的原因是 filer 节点下的子节点,z-index 小于filer 节点。那么我们想办法让a便器节点的z-index 大于filte
2013-07-10 19:22:05 1231
转载 增强transform 性能的方法
Did you know that we can hardware-accelerate graphics-intensive CSS features by offloading them to the GPU (Graphics Processing Unit) for better rendering performance in the browser?Most computer
2013-07-09 17:59:17 1109
转载 Set CSS 100% Width Minus Padding And Margin
Set CSS 100% Width Minus Padding And MarginJuly 15, 2011Styling elements to fluid layout when its parent element has fixed padding or margin always prompts the question: How do I set the
2013-07-01 19:58:36 1379
原创 div 100% height
First, we need to give 100% height to both the html and the body tag. This is often overlooked but is vitally important as no element will adjust to a percentage height unless it knows what it’s paren
2013-07-01 12:13:26 828
转载 css 所有元素垂直、水平居中
Horizontally Center an ElementThe first scenario that we’ll attack is by far one of the most common: centering an element horizontally in the viewport or browser window. To get started, let’s bu
2013-07-01 09:57:25 958
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人