JSFiddle - React, Tailwind, and code Playground
by Leo Wattenberg
HTML
<div id="logo">
</div>
<div id="name">kw.media</div>
CSS
#name {
height: 50px;
}
#logo {
width: 0;
height: 0;
border-style: solid;
border-width: 50px 0 50px 86.6px;
border-color: transparent transparent transparent red;
-webkit-animation: huerotate 30s linear infinite;
animation: huerotate 30s linear infinite;
/*
background: -webkit-gradient(linear, left top, right top, from(cyan), to(orange));
background: linear-gradient(to right, cyan, orange);
*/
}
@keyframes huerotate {
0% {
-webkit-filter: hue-rotate(0deg);
filter: hue-rotate(0deg);
}
100% {
-webkit-filter: hue-rotate(360deg);
filter: hue-rotate(360deg);
}
}