Re: [css-line-grid][css-books] one property or more?

Also sprach Dave Cramer:

 > >  > So an opt-out strategy would
 > >  > start to look like this:
 > >  >
 > >  > body { baseline-grid: new }
 > >  > img, figure, h1, h2, h3, h4, h5, h6, nav, etc. { baseline-grid: none }
 > >  >
 > >  > And the opt-in version would be:
 > >  >
 > >  > body { line-grid: create }
 > >  > p { line-snap: baseline }
 > 
 > For us, the most common case would have very few elements using a grid, and
 > I would prefer opt-out.

Did you mean to say opt-in? 

 > > Using CSS Books you could opt-in with:
 > >
 > >   p { baseline-grid: root }
 > >
 > > It's actually a good use case for 'root'.
 > 
 > I'm not looking forward to explaining "root" to our users :)

It should be comparable to explaining the :root pseudo-class.

But calling it 'base' might be easier:

  p { baseline-grid: base }
  p { line-grid: base }

... or something.

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome

Received on Wednesday, 1 October 2014 21:02:45 UTC