Last active
May 4, 2016 13:48
-
-
Save aloerina01/f2f652732d216e822233d17902acc9ba to your computer and use it in GitHub Desktop.
CSSの設計 汎用パーツにはシンプルなclass命名を。
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
.button { | |
/* ボタンの共通デザインを定義する 以下サンプル */ | |
margin: 8px; | |
padding: 8px; | |
border: 1px solid #ddd; | |
background-color: #f1f1f1; | |
color: #333; | |
} |
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
<button class="button" value="送信"></button> | |
<button class="button" value="キャンセル"></button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment