Skip to content

Instantly share code, notes, and snippets.

View senorprogrammer's full-sized avatar
🇨🇦
Hackety hack

Chris Cummer senorprogrammer

🇨🇦
Hackety hack
View GitHub Profile
h1 {
@include linear-gradient(color-stops(#999, black));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
Or, if you prefer plain CSS:
h1 {
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%,
color-stop(0%, #999999),
.transparent_class {
filter:alpha(opacity=50);
-moz-opacity:0.5;
-khtml-opacity: 0.5;
opacity: 0.5;
}
# ---------- Custom Git-based Prompt --------- #
RED="\[\033[0;31m\]"
YELLOW="\[\033[0;33m\]"
GREEN="\[\033[0;32m\]"
BLUE="\[\033[0;34m\]"
LIGHT_RED="\[\033[1;31m\]"
LIGHT_GREEN="\[\033[1;32m\]"
WHITE="\[\033[1;37m\]"