I’m real excited about text-box, a new CSS property that helps with text alignment and layout. You might remember whispers about leading-trim from a few years back and this new syntax has replaced all that.
I first spotted this bad boy on the Webkit blog the other day:
This will trim the space above headings so that we no longer have to do any weird margin-top: -3px shenanigans to align some text with an image. Over on Piccalilli, Jason Bradberry has an in-depth walkthrough of text boxes on the web where he shows how handy this property might be in the case of buttons, too.
继续阅读全文
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。
Katherine Rundell’s Why You Should Read Children’s Books leapt towards me in the bookstore yesterday—it’s lovely—and in it, she quotes Frances Spufford in his memoir The Child That Books Built: We cannot be told ‘there once was a prince’ wi
A box stacked to the brim with old journals arrived at my door a couple of weeks ago, having made its way across an ocean and dozens of state lines despite its contents being so radioactively embarrassing that it ought to be considered an i
Claire Keegan’s novella Small things like these is very sweet and the ending is so triumphant and satisfying and punk rock that it’s going to stay with me for a very long time. I leave this rare book recommendation without a quote or much o
In November 1967 Italo Calvino gave a lecture called Cybernetics and Ghosts where he talked about writing machines and the future of literature: ...will we have a machine capable of replacing the poet and the author? Just as we already have
I spotted this quote by Shirley Hibberd on the side of an enormous glass case, just outside the departures gate at SFO: Let us not despise the day of small things. A windowsill garden is better than no garden, and the dark area where cats q