https://github.com/bitstarr/tools
A small collection of various tools and helpers
https://github.com/bitstarr/tools
Last synced: 9 months ago
JSON representation
A small collection of various tools and helpers
- Host: GitHub
- URL: https://github.com/bitstarr/tools
- Owner: bitstarr
- License: mit
- Created: 2022-09-05T14:59:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-02T21:07:38.000Z (about 3 years ago)
- Last Synced: 2025-04-13T09:17:45.657Z (9 months ago)
- Language: HTML
- Size: 74.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Some helpers and tools
## clamper.html

Using `clamp()` is fantastic for fluid typography. Not dozens of media queries to asjust font-size for the optimal responsive experience anymore. Clamper is a generator to help you find the average scaling formula between two font-sizes and viewport widths.
The calculated formula can be a starting point for further trail and error in order to fine tune the outcome.
[See it live on codepen](https://codepen.io/bitstarr/full/QWELjpw)
## favicon.php

Tired of mistaking tabs for each other. Confusing development and staging system with each other, all the time? Add a custom favicon with matching hint to you system!
Configure your markup depending on the system to include something like this:
```html
```
| Parameter | Impact | Values | Default |
| --- | --- | -- | -- |
| env | Enviroment | `dev`, `stage`, `preview` | `dev` |
| letter | Letter to show | string | First letter of URL |
## frame.html

Poor mans device lab or a good way to show your customer how nice your responsive website works.
## placer.php

You need placeholder images for your rapid development but you hate the loading delay when using external placeholder image services? Git you covered!
This is also great to check if your responsive image behaves as you expect.
```html
```
| Parameter | Impact | Values | Default |
| --- | --- | -- | -- |
| bg | background color | hex color (w/o #) | random gradient |
| w | width of image | nmber | 300 |
| h | height of image | nmber | 150 |
| text | Text to show | string | Image dimensions |