Jen Simmons on Nostr: In today’s “How in the world should CSS work?”… If you break a string of text ...
In today’s “How in the world should CSS work?”…
If you break a string of text that has `text-wrap: balance` applied, what happens? For example:
`<h1>Hello world here's a long headline<br> that has a break in the middle</h1>`.
The CSSWG just decided that each part of that string will be balanced independently of each other.
Published at
2024-01-10 16:17:51Event JSON
{
"id": "68f3b95880301b802714a948fa840e4adc113e942cd9c84228ea52ada1d971ed",
"pubkey": "2ac7c51db27323bcd8011691b16a043b5badb2b4b8a92f4fea4a47643e709677",
"created_at": 1704903471,
"kind": 1,
"tags": [
[
"proxy",
"https://front-end.social/users/jensimmons/statuses/111732553938908906",
"activitypub"
]
],
"content": "In today’s “How in the world should CSS work?”… \n\nIf you break a string of text that has `text-wrap: balance` applied, what happens? For example:\n`\u003ch1\u003eHello world here's a long headline\u003cbr\u003e that has a break in the middle\u003c/h1\u003e`.\n\nThe CSSWG just decided that each part of that string will be balanced independently of each other.",
"sig": "c488220e94adf300e9e2f005255a12714475675e534919e8a6636acdc4ba9c1247d9e0a4350ce03ba297e454ccdbad6a151cabfe56fdcbc9b6958cd778ee61cc"
}