ida / booklook Goto Github PK
View Code? Open in Web Editor NEWTurn any element of your html-doc into a book
License: MIT License
Turn any element of your html-doc into a book
License: MIT License
Until now, we assumed the passed ele contains a flat chain of block-eles.
In that case refillParagraph() doesn't work anymore on a page-break within an inline-ele.
Currently we're prepending the book-ele to the passed ele, better make passed ele be the book-ele, otherwise the passed ele cannot be the content's root-ele; the body-ele.
Hi @ldanielswakman,
in reference to your tweet cited below I started a prototype here, which is by no means finished, but it should work for your requirements at the current state, in case you're interested in a JS-solution, which I'd choose for cross-browser-compatibility.
Demo&Remixlink @ https://book-look.glitch.me/
Cheers, Ida
https://twitter.com/ldanielswakman/status/953225103017435136
"CSS Challenge / help wanted! Escalating this to #css & #frontend twitter: I'm looking for a way for a variable block of text to automatically flow to a required number of columns, see image. Column height/width defined, columns should be laid out horizontally. Any ideas?"
When the window gets resized, recalculate glob-vars.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.