CSS tip: justify the last line with text-align-last: justify
floguo · x · 2026-09-05
With text-align: justify, the last line stays left-aligned. Adding text-align-last: justify justifies the final line too, producing a properly justified text block — a neat pure-CSS trick.
More from coding & agent
- Will humans still review PRs? Sourcegraph CEO sparks the debate — vboykis · 2026-09-06
- GPT-6 Astra one-shots a macOS app onboarding flow in demo — socialwithaayan · 2026-09-06
- GPT-6 Astra + Devin one-shot a full website with custom skills — socialwithaayan · 2026-09-06
- GPT-6 Astra turns a mobile game ad into a playable demo in <30 mins — socialwithaayan · 2026-09-06
- User one-shots multiple website designs with GPT-6 Astra via custom skill — socialwithaayan · 2026-09-06
- Jerry Liu: The Other Half of RLMs Is Programmatic Recursion, aka 'Dynamic Workflows' — lateinteraction · 2026-09-06