css 常用样式

1. border-radius - 指定每个圆角

  • 四个值: 第一个值为左上角,第二个值为右上角,第三个值为右下角,第四个值为左下角。
  • 三个值: 第一个值为左上角, 第二个值为右上角和左下角,第三个值为右下角
  • 两个值: 第一个值为左上角与右下角,第二个值为右上角与左下角
  • 一个值: 四个圆角值相同

2. linear-gradient 渐变  Internet Explorer 9 及之前的版本不支持渐变。