Untitled

mail@pastecode.io avatar
unknown
html
2 months ago
798 B
3
Indexable
Never
// attach css style
	$("head").append('<style type="text/css"></style>');
	$("head").children(':last').html('\
		.neon {\
		  color: #FB4264;\
		  text-shadow: 0 0 3vw #F40A35;\
		}\
		.neon {\
		  animation: neon 1s ease infinite;\
		  -moz-animation: neon 1s ease infinite;\
		  -webkit-animation: neon 1s ease infinite;\
		}\
		@keyframes neon {\
		  0%,\
		  100% {\
			text-shadow: 0 0 1vw #FA1C16, 0 0 3vw #FA1C16, 0 0 10vw #FA1C16, 0 0 10vw #FA1C16, 0 0 .4vw #FED128, .5vw .5vw .1vw #806914;\
			color: #FED128;\
		  }\
		  50% {\
			text-shadow: 0 0 .5vw #800E0B, 0 0 1.5vw #800E0B, 0 0 5vw #800E0B, 0 0 5vw #800E0B, 0 0 .2vw #800E0B, .5vw .5vw .1vw #40340A;\
			color: #806914;\
		  }\
		}\
	');
	// apply to element
	$('#yd-client-duration').attr('class','neon');
Leave a Comment