https://github.com/douganderson444/fill-width
https://github.com/douganderson444/fill-width
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/douganderson444/fill-width
- Owner: DougAnderson444
- Created: 2022-12-06T17:07:43.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T19:22:05.000Z (over 2 years ago)
- Last Synced: 2025-01-24T19:47:22.313Z (4 months ago)
- Language: Svelte
- Size: 140 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Svelte Fill Width
Use to fill the width of an HTML Element. No matter what size the font is, it will always fill the width of the given container.
## Use
Use as a:
1. Javascript function
2. Svelte Directive
3. Svelte Component```js
// pass the width you want to fit, js takes care of the rest
A big container
Some short text
```