Last active
December 11, 2015 19:59
-
-
Save tigawa/4652612 to your computer and use it in GitHub Desktop.
eruby クラスの指定
This file contains hidden or 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
# application.html.erb | |
<body class='<%= controller.controller_name %>'> | |
# Procucts.css.scss | |
.products { | |
table { | |
border-collapse: collapse; | |
} | |
table tr td { | |
padding: 5px; | |
vertical-align: top; | |
} | |
.list_line_even { | |
background: #e0f8f8; | |
} | |
.list_line_odd { | |
background: #f8b0f8; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment