Difference between revisions of "Template:Hamilton McMaster"
Line 279: | Line 279: | ||
nav ul li { display: inline; } | nav ul li { display: inline; } | ||
nav ul li a img { width: 50px; height: 50px; } | nav ul li a img { width: 50px; height: 50px; } | ||
+ | @keyframes cycle{ | ||
+ | 0%{ | ||
+ | background:red; | ||
+ | } | ||
+ | 50%{ | ||
+ | background:blue; | ||
+ | } | ||
+ | } | ||
+ | p{ | ||
+ | display:block; | ||
+ | background:red; | ||
+ | width:100px; | ||
+ | height:100px; | ||
+ | text-align:center; | ||
+ | line-height:100px; | ||
+ | color:#fff; | ||
+ | font-size:1em; | ||
+ | font-family:sans-serif; | ||
+ | animation:cycle 10s infinite; | ||
+ | } | ||
</style> | </style> |
Revision as of 08:10, 18 September 2015