(翻译)斑马纹模式(Alternating Row Colors)

问题概述

  用户想直观地区分表格中形式相似的行,以便识别同一行的内容。[1]

示例

这里写图片描述

用途
  • 用于当表格中有多列数据时;
  • 用于当表格中每列内容都差不多时;
  • 用于当表格每行存在多排内容时[2];
  • 用于当表格每行行高不一致时;
解决方案

  为区分表格中的不同行,相邻两行之间使用不同的颜色作为背景色。为了让用户感觉良好,将这两种颜色之间的差异降到最小。这两种颜色应该值相近,饱和度不同,一个深色,一个浅色,通常其中一种颜色与页面的背景色相同[3]。

说明

  表格中相邻两行之间使用不同的背景色,从视觉上辅助用户从左往右已经从右往左查看一行内容,避免看差行,这样不会严重改变表格的设计。
  表格中相邻两行之间使用不同的背景色,这种做法的副作用是表格在页面上特别显眼。背景色使表格不同行的内容相互隔离。[4]

原文地址:http://ui-patterns.com/patterns/AlternatingRowColors
[1]原文:The user needs to visually separate similar looking rows in a table apart, in order to match the values of each row.
[2]原文:Use when there are multiple lines for each row
[3]原文:The colors should be similar in value and low in saturation – the one should be slightly darker or lighter than the other. It is often seen that one of the two colors is the background color of the page itself.
[4]原文:A side effect of shading every second row with an alternating color is however that the table will stand out from the rest of the page. The shading in this way boxes in the table.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值