- From: Simon Fraser <smfr@me.com>
- Date: Fri, 14 Aug 2015 16:01:28 -0700
- To: fantasai <fantasai.lists@inkedblade.net>
- Cc: Arup Rakshit <arup.rakshit@cognitiveclouds.com>, www-style@w3.org
> On Aug 14, 2015, at 1:31 PM, fantasai <fantasai.lists@inkedblade.net> wrote: > > On 08/14/2015 03:36 AM, Arup Rakshit wrote: >> Hi, >> >> I am not able to understand the difference between background-position >> and background-origin. Would you guys help me to understand this with >> a suitable example ? > > background-position specifies a position within a box > http://www.w3.org/TR/css3-background/#the-background-position > > background-origin specifies which box to use for the positioning > http://www.w3.org/TR/css3-background/#the-background-origin > > See http://www.w3.org/TR/css3-background/#introduction for an illustration > of the various boxes. > > Let me know if, after reading the spec, it's still unclear. It’s a shame that background-origin was so-named. An origin is a point, but background-origin is about which area to use. Perhaps background-area or background-box would have been better names. Perhaps we could alias this property to a new one with a less confusing name? Simon
Received on Friday, 14 August 2015 23:01:59 UTC