Comments (1)
I'm not sure this algorithm works for me b/c we'd have to constantly query for the element's width and height inside a resize()
function.
Thanks for the suggestion tho.
from fittext.js.
Related Issues (20)
- "the compressor" exhibits inverse behavior HOT 2
- There is no license file. HOT 1
- Font starts out small HOT 1
- "font-size: 0px", found a wierd font-size bug. HOT 3
- Have support with bootstrap HOT 3
- Strange works with multiple spans inside a div HOT 1
- Fonts are resizing on change slide HOT 1
- NPM registry HOT 5
- Text doesn't resize to fit div HOT 1
- Bug with Bootstrap's Open Dropdown Menu HOT 1
- Does this work with display: flex ? HOT 2
- FitText on bootstrap navbar links HOT 2
- Chrome 60 (and above) and Fitttext does not work HOT 1
- Bug in combination with fullPage.js HOT 5
- Native CSS feature
- Resize doesn't occur on chrome when exiting "device toolbar"
- What's the difference between fittext.js and using vw for font sizes? HOT 1
- Specify a 100% value for a text, then reduce it-25% for a given screen size media query HOT 1
- Add LICENSE
- Memory leak when repeatedly calling `fitText()` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fittext.js.