Giter Site home page Giter Site logo

tools's Introduction

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

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:

<link rel="icon" href="assets/favicons/favicon.php?letter=W&env=preview">
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.

<img src="/placer.php?w=640&h=480&text=Hero Image">
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

tools's People

Contributors

bitstarr avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.