Skip to content

Instantly share code, notes, and snippets.

@ctron
Created January 13, 2015 08:30
Show Gist options
  • Save ctron/c9ba458755e85ed16bf2 to your computer and use it in GitHub Desktop.
Save ctron/c9ba458755e85ed16bf2 to your computer and use it in GitHub Desktop.
Pure Bug Sample
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Pure Test</title>
<link rel="stylesheet" href="pure/0.5.0/pure-min.css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
.pure-form input[type="file"] {
display: block;
margin: 0.25em 0;
}
</style>
</head>
<body>
<form class="pure-form pure-form-stacked">
<fieldset>
<legend>A Stacked Form</legend>
<label for="email">Email</label>
<input id="email" type="email" placeholder="Email">
<label for="password">Password</label>
<input id="password" type="password" placeholder="Password">
<label for="state">State</label>
<select id="state">
<option>AL</option>
<option>CA</option>
<option>IL</option>
</select>
<label for="remember" class="pure-checkbox">
<input id="remember" type="checkbox"> Remember me
</label>
<label for="file">File</label>
<input id="file" type="file" placeholder="File">
<button type="submit" class="pure-button pure-button-primary">Sign in</button>
</fieldset>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment