Last active
December 10, 2015 19:19
-
-
Save shirokuro331/4480686 to your computer and use it in GitHub Desktop.
しましまにしまっしま
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
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> |
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
table tr.odd th, | |
table tr.odd td { | |
background: #eee; | |
} |
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
$(function () { | |
$('.homu tr:nth-child(odd)').addClass('odd'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment