1px is not enough(bjango.com)

almost 6 years ago from Marc Edwards, Founder at Bjango

  • Marc EdwardsMarc Edwards, almost 6 years ago (edited almost 6 years ago )

    It's definitely possible to use repeating centre slice sections of any width, and still support any width for the view. Apple did it with their Mavericks window titlebars (which repeats every 128 points), and they provide ways for developers to do it for buttons and other elements.

    I think it's either a mistake, or intentional for performance reasons.

    Or would it be a case of using something similar to 'overflow: hidden' on a 20px repeat background?

    Yep, exactly like that.

    1 point