CodePen

HTML

            
              <form>
		<input name="name" placeholder="enter your favorite city" class="name" required />
    <input name="submit" class="btn" type="submit" value="Go" />
  <img src="http://i.imgur.com/DWxO4WJ.png" height=160px></img>
</form>
            
          
!

↑ Insert the most common viewport meta tag

CSS

            
              @import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro);

body {
    background:#2d3b36 url(http://www.hdwallpapers.in/walls/treasure_island_view_bay_bridge_san_francisco-normal.jpg)no-repeat center center fixed;*/
  	-webkit-background-size: cover;
	  -moz-background-size: cover;
	  -o-background-size: cover;
	  background-size: cover;
    padding-top:100px;
}

form {
    margin-left:auto;
    margin-right:auto;
    width: 333px;
    height: 333px;
    padding:30px;
    border: 1px solid rgba(0,0,0,.2);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 500px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background: rgba(0, 0, 0, .7); 
    -moz-box-shadow: 0 0 13px 3px rgba(255,255,255,255);
    -webkit-box-shadow: 0 0 13px 3px rgba(255,255,255,255);
    box-shadow: 0 0 150px 5px rgba(255,255,255,255);
    overflow: hidden; 
}

input {
    width: 300px;
    height: 48px;
    border: 0px solid rgba(255,255,255,.4);
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box; 
    display:inline;
    font-family: 'Source Sans Pro', sans-serif;
    font-size:18px;
    color:#fff;
}

input[type=submit] {
    cursor:pointer;
}

input.name {
	  background: rgba(255, 255, 255, 0.4);
    margin-bottom:0%;
    margin-top:25%;
    padding-left:20px;
    position:center;
}

input:focus, textarea:focus {
    background-color: rgba(0, 0, 0, .7);
    -moz-box-shadow: 0 0 5px 1px rgba(255,255,255,.5);
    -webkit-box-shadow: 0 0 5px 1px rgba(255,255,255,.5);
    box-shadow: 0 0 10px 5px rgba(255,255,255,.5);
	  overflow: hidden;
}

.btn {
	  width: 52px;
	  height: 52px;
	  -moz-border-radius: 4px;
	  -webkit-border-radius: 4px;
	  border-radius: 4px;
    background-color:rgba(255,255,255,.1);
    border:0px;
    background-size:48px;
    margin-left:-55px;
    /*background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#fff));
    background: -webkit-linear-gradient(top, #fff, #01D4FE);
    background: -moz-linear-gradient(top, #6da5a3, #416b68);
    background: -ms-linear-gradient(top, #6da5a3, #416b68);
    background: -o-linear-gradient(top, #6da5a3, #416b68);
    background-image: -ms-linear-gradient(top, #6da5a3 0%, #416b68 100%);
    
    -webkit-box-shadow: rgba(255,255,255,0.1) 0 1px 0, inset rgba(255,255,255,0.7) 0 1px 0;
    -moz-box-shadow: rgba(255,255,255,0.1) 0 1px 0, inset rgba(255,255,255,0.7) 0 1px 0;
    box-shadow: rgba(255,255,255,0.1) 0 1px 0, inset rgba(255,255,255,0.7) 0 1px 0;
    text-shadow: #333333 0 1px 0;
    color: #e1e1e1; */
}

.btn:hover {
    /*border: 1px solid #253737;
    text-shadow: #333333 0 1px 0;
    background: #416b68;
    background: -webkit-gradient(linear, left top, left bottom, from(#77b2b0), to(#416b68));
    background: -webkit-linear-gradient(top, #77b2b0, #416b68);
    background: -moz-linear-gradient(top, #77b2b0, #416b68);
    background: -ms-linear-gradient(top, #77b2b0, #416b68);
    background: -o-linear-gradient(top, #77b2b0, #416b68);
    background-image: -ms-linear-gradient(top, #77b2b0 0%, #416b68 100%);*/
    background-color:rgba(255,255,255,0);
 }

.btn:active {
    margin-top:1px;
    text-shadow: #333333 0 -1px 0;
    border: 1px solid #253737;
    background: #6da5a3;
    background: -webkit-gradient(linear, left top, left bottom, from(#416b68), to(#416b68));
    background: -webkit-linear-gradient(top, #416b68, #609391);
    background: -moz-linear-gradient(top, #416b68, #6da5a3);
    background: -ms-linear-gradient(top, #416b68, #6da5a3);
    background: -o-linear-gradient(top, #416b68, #6da5a3);
    background-image: -ms-linear-gradient(top, #416b68 0%, #6da5a3 100%);
    color: #fff;
    -webkit-box-shadow: rgba(255,255,255,0) 0 1px 0, inset rgba(255,255,255,0.7) 0 1px 0;
    -moz-box-shadow: rgba(255,255,255,0) 0 1px 0, inset rgba(255,255,255,0.7) 0 1px 0;
    box-shadow: rgba(255,255,255,0) 0 1px 0, inset rgba(255,255,255,0.7) 0 1px 0;
   }



            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              <script type="text/javascript">  
window.onload= function(){  
   //var thediv=document.body.getElementById("body");  
   var imgarray = newArray("http://images6.alphacoders.com/382/382547.jpg", "http://www.hdwallpapers.in/walls/treasure_island_view_bay_bridge_san_francisco-normal.jpg", "http://www.globeimages.net/data/media/5/portland_waterfront.jpg");  
   var spot=Math.floor(Math.random()* imgarray.length);  
]
   document.body.background="url("+imgarray[spot]+")";  
}  
</script>
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................