impressivewebs / CSS-Values

A PWA that allows you to search for any CSS property to get a quick reference on possible values and browser support.
https://cssvalues.com
25 stars 4 forks source link

Suggestions for some background-related properties #11

Closed impressivewebs closed 10 years ago

impressivewebs commented 11 years ago

Russ Weakley sent the following suggestions via email:


  1. When you type a property, you get a list of all possible values. It would be GREAT to visually flag the initial value differently to all other values in the list.
  2. Background-size shows

auto cover contain <length> <percentage> <length> auto auto <percentage> <length> <percentage> <percentage> <length>

This possibly gives a false impression that these are the total number of options. In reality there are others such as:

auto (default) cover contain length (auto) length auto percentage (auto) percentage auto length length length percentage percentage percentage percentage length

  1. Another example is background-repeat. The values shown are:

repeat repeat-x repeat-y no-repeat space round

Again, there are other options

repeat-x (auto) repeat-x auto repeat-y (auto) repeat-y auto repeat (repeat) repeat repeat space (space) space space round (round) round round no-repeat (no-repeat) no-repeat no-repeat

  1. Another one is background-position

0% 0%

left top center center right bottom There are a wide range of options here length length length percentage length keyword percentage percentage percentage length percentage keyword keyword keyword and four keywords... keyword length keyword length keyword percent keyword percent
impressivewebs commented 10 years ago

This has been incorporated into explanatory comments under each article, where necessary.