An Interest In:
Web News this Week
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
- March 26, 2024
- March 25, 2024
June 8, 2020 09:23 pm GMT
Original Link: https://css-tricks.com/the-trickery-it-takes-to-create-ebook-like-text-columns/
The Trickery it Takes to Create eBook-Like Text Columns
There’s some interesting CSS trickery in Jason Pamental’s latest Web Fonts & Typography News. Jason wanted to bring swipeable columns to his digital book experience on mobile. Which brings up an interesting question right away… how do you set full-width columns that add columns horizontally, as-needed ? Well that’s a good trick right there, and it’s a one-liner:
columns: 100vw auto;
But it gets more complicated and disappointing from there.
With just a smidge more formatting to the columns:… Read article “The Trickery it Takes to Create eBook-Like Text Columns”
The post The Trickery it Takes to Create eBook-Like Text Columns appeared first on CSS-Tricks.
Original Link: https://css-tricks.com/the-trickery-it-takes-to-create-ebook-like-text-columns/
Share this article:
Tweet
View Full Article