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

Also sprach Alan Stearns:

 > My strong preference is to have line snapping be an opt-in property. One
 > very common use case (shown in the examples I’ve added) is to only have
 > body text snap to the grid and not headings. 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 }

Using CSS Books you could opt-in with:

  p { baseline-grid: root }

It's actually a good use case for 'root'.

Cheers,

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

Received on Wednesday, 1 October 2014 19:53:12 UTC