7128986083_3189d3037e_z

Mystery upcoming project UI detail: Length preview

Screen_shot_2011-12-02_at_16

15 Responses

  1. 20110626_logo Reinier Kaper

    Looks great! But negative margin? Seriously? ;-)

    6 months ago

  2. 7128986083_3189d3037e_z Lea Verou

    What's wrong with negative margins? They're super useful and less error prone than their alternatives in most cases.

    likes

    6 months ago

  3. Pro Linkedinimage Stuart Robson

    Lea, these shots are getting more intrigued. Can't wait to see what it is :D

    6 months ago

  4. Pro Avatar_28 Joshua Hibbert

    I second the usefulness of negative margins. Can't wait to see what this is; it's looking fantastic Lea!

    likes

    6 months ago

  5. Pro Ckor_red Andrew Ckor

    I like the highlighting colors :)
    Beautiful…

    6 months ago

  6. Pro Cerebral ideas Justin L.

    Pfffft. Negative margins are fine … well, unless it's -890px or something severe. Then you may want to rethink your layout :)

    6 months ago

  7. Img_2739 Ricardo Magalhães

    Looks very... editable :) I feel like playing around in it. Nice color scheme! And yes, negative margins are really ok, especially when it comes to grids and getting the gutters right, they're super-dupah useful.

    6 months ago

  8. Pro _mg_5065 Rafal Bromirski

    Great shot and cant wait to see this, but I have one question:
    Why you need the rule in IDE over this field? You can click or drag? Or only for 'wow' effect?
    Don't get me wrong but in my opinion its unnecessary feature.

    6 months ago

  9. 7128986083_3189d3037e_z Lea Verou

    To get an idea of how big or small a length is. You might have enough experience to not need something like that, but many web designers have trouble visualizing CSS lengths, especially the ones that are still learning.

    6 months ago

  10. Pro _mg_5065 Rafal Bromirski

    Ah, so it's completely different thing than I thought :) Will it support 'em' values? That might be helpful even for me :D

    6 months ago

  11. 7128986083_3189d3037e_z Lea Verou

    No, that would introduce a significant performance overhead. :( Only absolute lengths (px/cm/mm/in/…)

    6 months ago

  12. Pro _mg_2516_r Andrea Giannangelo

    It's going to get tricky with 500px+ sizes. Maybe you should show the whole box margin/padding/border/width/etc schema on click, it would be more useful.

    6 months ago

  13. 7128986083_3189d3037e_z Lea Verou

    @Andrea: Yes, it's tricky with very large or very small sizes, haven't decided how to handle those yet.
    Showing the box model would be useful, but would be much heavier on performance, as I'd need to parse the entire rule, instead than pattern matching values. That's the reason I don't have a previewer for ems too.

    6 months ago

  14. Pro Me4 David Perel

    Going to hazard a guess here and say iPad coding app? :)

    6 months ago

  15. 7128986083_3189d3037e_z Lea Verou

    I'm sorry David but that could be the most wrong guess I've heard about it so far :)

    6 months ago

keyboard shortcuts: previous shot next shot L or F like