Slashdot Mirror


Chrome 57 Arrives With CSS Grid Layout and API Improvements (venturebeat.com)

Google has launched Chrome 57 for Windows, Mac, and Linux. From a report on VentureBeat: Among the additions is CSS Grid Layout, API improvements, and other new features for developers. You can update to the latest version now using the browser's built-in silent updater, or download it directly from google.com/chrome. Chrome is arguably more than a browser: With over 1 billion users, it's a major platform that web developers have to consider. In fact, with Chrome's regular additions and changes, developers have to keep up to ensure they are taking advantage of everything available. Chrome 57 implements CSS Grid Layout, a two-dimensional grid-based layout system for responsive user interface design. Elements within the grid can be specified to span multiple columns or rows, plus they can also be named so that layout code is easier to understand. The goal is to give developers more granular control, especially as websites are increasingly accessed on various screen sizes, so they can slowly move away from complex code that is difficult to maintain.

12 of 87 comments (clear)

  1. So, tables? by jon3k · · Score: 4, Insightful

    Remember 15-20 years ago when we had based layouts? And then they invented CSS because that was such a terrible idea. Then we spend 10 years trying inventing css grid systems (ie bootstrap's grid, 960, etc) to replicate what we used to do with tables until they just finally gave up and made CSS Grid and Flexbox? That was sure fun.

    1. Re:So, tables? by nycsubway · · Score: 4, Insightful

      I've always used tables. I know exactly what I'm getting every time, and how to fix it if it doesn't look right. There's too much relativism is css... I find it easier to design a webpage with concrete layout.

      I'm sure css layout is useful, and developers are able to do amazing things with it. But for me, tables are simple and make sense.

    2. Re:So, tables? by DontBeAMoran · · Score: 2

      And people like you are the reason why websites look like crap on mobile.

      --
      #DeleteFacebook
  2. Not Keeping Up. Horseshit. by caferace · · Score: 4, Insightful

    "In fact, with Chrome's regular additions and changes, developers have to keep up to ensure they are taking advantage of everything available. "

    Uh, no. You don't. The page you developed yesterday (or in 2000) should display just the same if you did it right in the first place. If not it's the browsers fault, not yours for "not keeping up". It's a fucking web browser.

    1. Re:Not Keeping Up. Horseshit. by dmgxmichael · · Score: 2

      "In fact, with Chrome's regular additions and changes, developers have to keep up to ensure they are taking advantage of everything available. "

      Uh, no. You don't. The page you developed yesterday (or in 2000) should display just the same if you did it right in the first place. If not it's the browsers fault, not yours for "not keeping up". It's a fucking web browser.

      Do you earn money for the page you developed in 2000? Cause trust me, if you are still using table based layouts you are going to have a hard time getting a job, or even avoiding being laughed at during interviews.

      Either keep up with the latest techniques, or lose jobs to people who do. This is true in all industries.

  3. Bad idea by fyngyrz · · Score: 5, Insightful

    With over 1 billion users, it's a major platform that web developers have to consider. In fact, with Chrome's regular additions and changes, developers have to keep up to ensure they are taking advantage of everything available.

    Web developers: You should be avoiding non-standard browser capabilities like the plague. Period.

    And in Google's case, where they have a solid record of abandoning projects many people depend upon at the drop of a virtual hat, you're taking a significant risk if you hitch your cart to their projects

    Chrome's non-standard bits can be reasonably described as the ActiveX of this particular time period.

    As Dr. Frank N. Furter has said: "Do you want them to see you... LIKE THIS???"

    If you really think these things are valuable and should be supported, the smart thing to do is to work to see them become standards, wait for the resulting standards to be supported by all the major players, and then use them.

    --
    I've fallen off your lawn, and I can't get up.
  4. Re:Chrome _is_ the standard! by Anonymous Coward · · Score: 5, Insightful

    I think you missed the point of the GP. It doesn't matter that Chrome is the defacto standard, browser specific extensions are a terrible idea. Period. I'm going to guess you're fairly young and don't remember the fiasco that IE6 was. It was the defacto standard of the time with a market share that makes Chromes current market share seem insignificant. They added their specific extensions and it threw the entire web into chaos. It took some 15 years to recover from. The shockwaves are still being felt to this day some 20 years later.

    Learn from history, don't repeat it. Browser specific extensions seem like a good idea at the time, but help no one in the long run. It just causes compatibility nightmares for years.

  5. Re:About that shiny new feature... by ranton · · Score: 2

    What's the difference between CSS grid layout and BootStrap's grid layout?

    One is supported in all browsers and one is not.

    --
    -- All that is necessary for the triumph of evil is that good men do nothing. -- Edmund Burke
  6. Re:About that shiny new feature... by Piata · · Score: 2

    BootStrap's grid layout uses floats to achieve a grid. CSS grid is an actual CSS specification built around creating grids in the browser window. It's incredibly useful for web apps and also makes web design much more similar to print design.

    A good site for learning how to use CSS Grids: http://gridbyexample.com/

  7. Re:One thing... by dmgxmichael · · Score: 4, Insightful

    One thing I liked more about Chrome than IE is that it was closer to being standard. It didn't change every version and was almost always backwards compatible with previous versions.

    This non-standard CSS Grid Layout, which, may be a great idea, is completely useless unless it is a standard used by all browsers.

    If I recall correctly CSS Grid was a Microsoft proposal. It is already in Edge, just disabled by default, and Safari is expected to support it with it's next release this fall. That leaves Firefox, but I'm pretty sure they aren't too far behind. This particular segment of CSS4 has been in the works for nearly 3 years.

  8. Re:One thing... by iampiti · · Score: 2

    CSS grid is already supported by Firefox in version 52 which was released a few days ago.

  9. Re:Chrome _is_ the standard! by ilsaloving · · Score: 3, Informative

    Yeah, and 15 years ago Internet Explorer and ActiveX was the 'defacto standard'.

    We all know how well that turned out. Anyone who isn't very new to computing, should know very well that things *will* change, and they will change *drastically*. HTTP and HTML has survived(ish) the test of time *precisely* because they are formal standards that are independent of a specific product and company.

    Every single time people have tied themselves to a specific product du jour, they've been bitten very hard on the ass. Every. Single. Time.

    It doesn't matter what W3C "standards" have been written. They're useless to most web users and developers until they've actually been implemented in Chrome.

    This is the bit that compelled me to comment. The sorry state of web technology today is precisely because people like you think you're too good to follow something as archaic as "standards". You think you know better. The end result is *everything* is getting balkanized to hell, security is going down the toilet, and compatibility is turning into a bad joke.

    Here's a truth bomb for you: You *arn't* as good as you think you are, and you *don't* know better.

    Standards exist for a reason, and if you are unable to recognize that fact, then you have no business developing anything technology-related.