JSFiddle - React, Tailwind, and code Playground

by Sir_Pepe

HTML

<div>
    <div id="bla">
        <div>
            <p id="special">Hello World</p>
        </div>
    </div>
<div>

CSS

#bla {
    display:none;
}
#bla:target {
    display:block;
}
#special {
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
    color: #000;
    font-size: 100%;
}
:target #special{
    color: #F00;
    font-size: 500%;
}

JavaScript

setTimeout(function(){
    window.location.hash = 'bla';
}, 2000);