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

On Wed, Oct 1, 2014 at 3:52 PM, Håkon Wium Lie <howcome@opera.com> wrote:

> 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 }
>

For us, the most common case would have very few elements using a grid, and
I would prefer opt-out.


>
> 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 :)

Dave

Received on Wednesday, 1 October 2014 20:39:42 UTC