Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
/ emulate Public archive

Tiny JavaScript library to emulate :active styles. Made as a joke.

License

Notifications You must be signed in to change notification settings

citrusui/emulate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

emulate.js

Greenkeeper badge

What is this?

A tiny JavaScript library to emulate :active styles on mobile devices.

Why?

Because -webkit-tap-highlight-color is ugly and almost always hidden with a transparent color.

Seriously?

Yes. Everything must be modularized and served over a CDN.

Demo?

Here's the CodePen.

Notes

I did not blatantly copy and paste this code from CSS-Tricks. The original version was a jQuery snippet which I learned to adapt for use without jQuery. Upon a quick Google search, I realized CSS-Tricks already did this in 2011. So I thought I might as well credit them.

Licensed under CSS-Tricks.

About

Tiny JavaScript library to emulate :active styles. Made as a joke.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published