Created
September 18, 2013 07:36
-
-
Save nasum/6605786 to your computer and use it in GitHub Desktop.
CSSフレームワーク「Pure」を使ってフォームを作るサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CSSフレームワーク「Pure」を使ってフォームを作るサンプル | |
http://purecss.io/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
padding : 10px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/pure/0.3.0/base-min.css"> | |
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/pure/0.3.0/forms-min.css"> | |
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/pure/0.3.0/buttons-min.css"> | |
<form class="pure-form pure-form-stacked"> | |
<fieldset> | |
<legend>フォーム</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="remember" class="pure-checkbox"> | |
<input id="remember" type="checkbox"> Remember me | |
</label> | |
<button type="submit" class="pure-button pure-button-primary">Sign in</button> | |
</fieldset> | |
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var hoge = function(){ | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment