JSFiddle - React, Tailwind, and code Playground

by salitrapraveen

HTML

<div class="offscreen">
		<header>
            <h1>iOS Application
             <span><input type="text" id="entry-name" placeholder="test.txt / foldername"/></span
                </h1>
           
        </header>
		<section>Praveen Salitra</section>
		<footer/>
	</div>

CSS

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}

body { overflow-y: hidden; font: 15px normal 'Open Sans', Trebuchet, Arial, sans-serif;}
header, footer { 
    -webkit-transform: translateY(0) translateZ(0); 
    -webkit-transition: -webkit-transform 0.6s ease-in-out; 
    padding: 0;
    background: -webkit-linear-gradient(top, rgba(207,231,250,1) 0%, rgba(0, 75, 146, 1) 100%);
    border-radius: 5px;
    box-shadow: 0 5px 5px #ccc;
    height: 30px;
}
footer {
    clear: both;
}
.offscreen header {
    -webkit-transform: translateY(-500px);
}
.offscreen footer {
    -webkit-transform: translateY(500px);
}
section { 
    height: 200px;
    border-radius: 7px;
    box-shadow: 0 -2px 2px #ddd inset, 0 2px 3px #ddd inset;
    padding: 10px;
    background: -webkit-linear-gradient(#fff 80%, #eee);
    box-sizing: border-box;
    margin: 12px;
}
		
header h1 {
    font-size: 18px;
    text-shadow: 0px -1px black;
    margin: 0px 0px 0px 20px;
    color: white;
}
header h1 span{
    float: right;
    margin: 0px 20px 0px 0px;
 }
input[type='text'], textarea, iframe {
    margin: 0;
    padding: 3px;
    border-radius: 3px;
    border: 1px solid #ccc;
    box-shadow: 0 3px 3px #eee inset;
    outline: none;
    background: white;
}

JavaScript

document.querySelector('.offscreen').classList.remove('offscreen');