JSFiddle - React, Tailwind, and code Playground
HTML
<a id="umustlogin">An Error ocurred<br/><div>Please login<br /><input type="text"/><br/><input type="password"/><br/><button>Submit</button></div></a>
CSS
@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300);
body {
margin: 0;
padding: 0;
background: url('http://i.imgur.com/28TDYC5.gif') #000;
width: 100%;
height: 100%;
background-size: cover;
background-repeat: no-repeat;
text-shadow: 0px 1px 2px rgba(0,0,0,.5);
}
#umustlogin {
position: absolute;
overflow: hidden;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
color: #fff;
background: rgba(220, 0, 0, .8);
text-align: center;
line-height: 100vh;
-webkit-clip-path: circle(60px);
transition: all 1s;
text-decoration: none;
text-align: center;
font-family:'Open Sans Condensed';
font-weight: bold;
cursor: pointer;
}
input, button {
font-family:'Open Sans';
font-weight: 300;
}
#umustlogin.selected {
line-height: 10vh;
-webkit-clip-path: circle(100vw);
background: rgba(220, 0, 0, .3);
}
div {
}
button {
background: #fff;
border: 1px solid #ddd;
padding: .5vw 1vw;
outline: none;
margin: 2vw;
cursor: pointer;
}
JavaScript
$('#umustlogin').on('click', function () {
$(this).toggleClass('selected');
}).children().click(function (e) {
return false;
});