JSFiddle - React, Tailwind, and code Playground
by Ronny
HTML
<div>ddd</div>
CSS
div {width: 100px; background: red; -webkit-transition: width 2s;}
div:hover {width: 500px;}
JavaScript
/* Modernizr 2.6.1 (Custom Build) | MIT & BSD
* Build: http://modernizr.com/download/#-csstransitions-shiv-cssclasses-prefixed-testprop-testallprops-domprefixes
*/
;
window.Modernizr = function(a, b, c) {
function x(a) {
j.cssText = a
}
function y(a, b) {
return x(prefixes.join(a + ";") + (b || ""))
}
function z(a, b) {
return typeof a === b
}
function A(a, b) {
return !!~ ("" + a).indexOf(b)
}
function B(a, b) {
for (var d in a) {
var e = a[d];
if (!A(e, "-") && j[e] !== c) return b == "pfx" ? e : !0
}
return !1
}
function C(a, b, d) {
for (var e in a) {
var f = b[a[e]];
if (f !== c) return d === !1 ? a[e] : z(f, "function") ? f.bind(d || b) : f
}
return !1
}
function D(a, b, c) {
var d = a.charAt(0).toUpperCase() + a.slice(1),
e = (a + " " + n.join(d + " ") + d).split(" ");
return z(b, "string") || z(b, "undefined") ? B(e, b) : (e = (a + " " + o.join(d + " ") + d).split(" "), C(e, b, c))
}
var d = "2.6.1",
e = {},
f = !0,
g = b.documentElement,
h = "modernizr",
i = b.createElement(h),
j = i.style,
k, l = {}.toString,
m = "Webkit Moz O ms",
n = m.split(" "),
o = m.toLowerCase().split(" "),
p = {},
q = {},
r = {},
s = [],
t = s.slice,
u, v = {}.hasOwnProperty,
w;
!z(v, "undefined") && !z(v.call, "undefined") ? w = function(a, b) {
return v.call(a, b)
} : w = function(a, b) {
return b in a && z(a.constructor.prototype[b], "undefined")
}, Function.prototype.bind || (Function.prototype.bind = function(b) {
var c = this;
if (typeof c != "function") throw new TypeError;
var d = t.call(arguments, 1),
e = function() {
if (this instanceof e) {
...