VOX

  • Archive
  • RSS

Mmm stampy

So, decided to have a go with border-image after this turned up in my RSS feed, and I think it turned out ok, but what the heck’s going on with border-image-slice?

Yes, I should have read the spec and examples a little more carefully before setting out on this, but I can’t think of anywhere else in the CSS spec where putting units after your pixels breaks the thing (not that I’ve read it admittedly…), and its such a natural thing to do!

Not only that, but the numbers mean something different depending on the sort of image you’re using - seriously who came up with that?

I think I’m going to have to revisit this at a later point - I’m just not convinced I get what all the bits of border-image are doing at the mo, but anyway its on Github…

Edit - thought of a unitless number in CSS - z-index. But does that count? its not a dimension, more a position in a list..?

    • #css
    • #webdev
  • 3 months ago
  • Permalink
  • Share
    Tweet
← Previous • Next →

About

Happy scribbings of a UK based web developer.

Pages

  • UI Pattern Examples
  • CSS Experiments

Me, Elsewhere

  • sweetbee on github
  • RSS
  • Random
  • Archive
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr