Created
September 5, 2015 17:28
-
-
Save Himenon/ddff9a474bb6cce27f17 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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>TechNS</title> | |
<script src="bower_components/jquery/dist/jquery.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$(".test").on('click', function() { | |
$(this).attr('id', 'testtest'); | |
}); | |
}); | |
</script> | |
<style> | |
#testtest { | |
animation: testtesttest 1s infinite; | |
color: red; | |
background-color: black; | |
} | |
keyframes testtesttest { | |
from { | |
color: black; | |
} | |
to { | |
color: red; | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<div class="test"> | |
おしてね! | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment