Skip to content

Instantly share code, notes, and snippets.

@marifrahman
Created August 20, 2013 00:56
Show Gist options
  • Save marifrahman/6275947 to your computer and use it in GitHub Desktop.
Save marifrahman/6275947 to your computer and use it in GitHub Desktop.
* {
margin: 0;
padding: 0;
}
body {
background: url(http://i47.tinypic.com/2090r3c.jpg) no-repeat;
}
h1 {
font:small-caps bold 25px Times New Roman;
text-transform:capitalize;
letter-spacing:3px;
color:#fff;
}
#container {
width: 200px;
margin: 40px auto;
background: url(http://i47.tinypic.com/97sh87.jpg) no-repeat fixed;
border: 5px solid black;
padding: 30px;
height: 400px;
border-radius: 30px;
}
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[Blur box]" />
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
<div id="container">
<h1>Background with Blur</h1>
<input type="text" />
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment