News for hackers. Stuff that matters.
Re:Ask HN: Why Haven't GUI Front End Editors Caught On? by namuol on Friday February 10, 2017 @02:43PM (#13618245)
> To which I reply, do i really have to include ~500K - 1MB of some framework for this!?!

What framework?

    .center-the-stuff {
      display: flex;
      align-items: center;
      justify-content: center;
    }
Re:Ask HN: Why Haven't GUI Front End Editors Caught On? by fiveseven_ on Friday February 10, 2017 @03:18PM (#13618515)
here's a non-flexbox solution, but the parent element has to have a set height:

  .parent {
    position: relative;
  }

  .child {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
Re:Ask HN: Why Haven't GUI Front End Editors Caught On? by alkonaut on Friday February 10, 2017 @05:29PM (#13619491)
It's like a magic spell that makes very little sense and is impossible to guess.

If I fire up a reasonable layout system (Xaml for example) which is completely foreign, it's trivial to do there.

I can't understand why html/CSS makes it so hard.

Re:Ask HN: Why Haven't GUI Front End Editors Caught On? by lj3 on Friday February 10, 2017 @06:02PM (#13619694)
Because html/css was never intended to be used for layout. It's primarily a content styling system for static documents.
Re:Ask HN: Why Haven't GUI Front End Editors Caught On? by alkonaut on Friday February 10, 2017 @06:23PM (#13619813)
Html/CSS have been revised a few times since then, so you'd think that the design should gravitate towards making the common things easy.
Re:Ask HN: Why Haven't GUI Front End Editors Caught On? by stevage on Saturday February 11, 2017 @12:07AM (#13621128)
That was a true statement in maybe 2005?