Wiktenauer logo.png

Difference between revisions of "User:Kendra Brown/vector.css"

From Wiktenauer
Jump to navigation Jump to search
(Created page with "→‎rainbow text: p, ol, li, td { background-image: -webkit-gradient( linear, left top, right top, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color...")
 
Line 20: Line 20:
 
   -webkit-text-fill-color: transparent;
 
   -webkit-text-fill-color: transparent;
 
   animation: rainbow 16s ease 6 alternate;
 
   animation: rainbow 16s ease 6 alternate;
 +
}
 +
 +
/*rainbow menu links*/
 +
div.portal * li a:hover {
 +
  background-image: linear-gradient(135deg, violet, indigo, blue, green, yellow, orange, red);
 +
  background-image: -webkit-linear-gradient(135deg, top left, violet, indigo, blue, green, yellow, orange, red);
 +
  -webkit-background-clip: text;
 +
  -webkit-text-fill-color: transparent;
 +
  background-clip: text;
 +
  text-fill-color: transparent;
 
}
 
}

Revision as of 16:10, 6 June 2019

/*rainbow text*/
p, ol, li, td {
    background-image: -webkit-gradient( linear, left top, right top, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color-stop(0.45, #2ff), color-stop(0.6, #2f2),color-stop(0.75, #2f2), color-stop(0.9, #ff2), color-stop(1, #f22) );
    background-image: gradient( linear, left top, right top, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color-stop(0.45, #2ff), color-stop(0.6, #2f2),color-stop(0.75, #2f2), color-stop(0.9, #ff2), color-stop(1, #f22) );
    color:transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

/*rainbow shimmer headers*/
@keyframes rainbow { 
    0%{background-position:0% 50%}
    50%{background-position:100% 25%}
    100%{background-position:0% 50%}
}
h1 {
  background-image: linear-gradient(45deg, navy, navy, navy, violet, indigo, blue, green, yellow, orange, red, violet, navy, navy, navy, navy);
  background-size: 800% 800%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow 16s ease 6 alternate;
}

/*rainbow menu links*/
div.portal * li a:hover {
  background-image: linear-gradient(135deg, violet, indigo, blue, green, yellow, orange, red);
  background-image: -webkit-linear-gradient(135deg, top left, violet, indigo, blue, green, yellow, orange, red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}