css3 rainbow flag / gay pride flag
made this a while back, and figured i’d share. it’s a rainbow flag / gay pride flag made entirely in css3:
#flag {
width: 450px;
height: 300px;
background-size: 100% 100%;
background-image: linear-gradient(bottom,
rgba(77,20,140,1) 0%,
rgba(77,20,140,1) 18%,
rgba(27,119,205,1) 18%,
rgba(27,119,205,1) 33%,
rgba(54,160,48,1) 33%,
rgba(54,160,48,1) 50%,
rgba(255,210,0,1) 50%,
rgba(255,210,0,1) 66%,
rgba(255,160,0,1) 66%,
rgba(255,160,0,1) 83%,
rgba(207,15,15,1) 83%,
rgba(207,15,15,1) 100%);
background-image: -o-linear-gradient(bottom,
rgba(77,20,140,1) 0%,
rgba(77,20,140,1) 18%,
rgba(27,119,205,1) 18%,
rgba(27,119,205,1) 33%,
rgba(54,160,48,1) 33%,
rgba(54,160,48,1) 50%,
rgba(255,210,0,1) 50%,
rgba(255,210,0,1) 66%,
rgba(255,160,0,1) 66%,
rgba(255,160,0,1) 83%,
rgba(207,15,15,1) 83%,
rgba(207,15,15,1) 100%);
background-image: -moz-linear-gradient(bottom,
rgba(77,20,140,1) 0%,
rgba(77,20,140,1) 18%,
rgba(27,119,205,1) 18%,
rgba(27,119,205,1) 33%,
rgba(54,160,48,1) 33%,
rgba(54,160,48,1) 50%,
rgba(255,210,0,1) 50%,
rgba(255,210,0,1) 66%,
rgba(255,160,0,1) 66%,
rgba(255,160,0,1) 83%,
rgba(207,15,15,1) 83%,
rgba(207,15,15,1) 100%);
background-image: -webkit-linear-gradient(bottom,
rgba(77,20,140,1) 0%,
rgba(77,20,140,1) 18%,
rgba(27,119,205,1) 18%,
rgba(27,119,205,1) 33%,
rgba(54,160,48,1) 33%,
rgba(54,160,48,1) 50%,
rgba(255,210,0,1) 50%,
rgba(255,210,0,1) 66%,
rgba(255,160,0,1) 66%,
rgba(255,160,0,1) 83%,
rgba(207,15,15,1) 83%,
rgba(207,15,15,1) 100%);
background-image: -ms-linear-gradient(bottom,
rgba(77,20,140,1) 0%,
rgba(77,20,140,1) 18%,
rgba(27,119,205,1) 18%,
rgba(27,119,205,1) 33%,
rgba(54,160,48,1) 33%,
rgba(54,160,48,1) 50%,
rgba(255,210,0,1) 50%,
rgba(255,210,0,1) 66%,
rgba(255,160,0,1) 66%,
rgba(255,160,0,1) 83%,
rgba(207,15,15,1) 83%,
rgba(207,15,15,1) 100%);
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.00,rgba(77,20,140,1)),
color-stop(0.18,rgba(77,20,140,1)),
color-stop(0.18,rgba(27,119,205,1)),
color-stop(0.33,rgba(27,119,205,1)),
color-stop(0.33,rgba(54,160,48,1)),
color-stop(0.50,rgba(54,160,48,1)),
color-stop(0.50,rgba(255,210,0,1)),
color-stop(0.66,rgba(255,210,0,1)),
color-stop(0.66,rgba(255,160,0,1)),
color-stop(0.83,rgba(255,160,0,1)),
color-stop(0.83,rgba(207,15,15,1)),
color-stop(1.00,rgba(207,15,15,1))
);
}
width: 450px;
height: 300px;
background-size: 100% 100%;
background-image: linear-gradient(bottom,
rgba(77,20,140,1) 0%,
rgba(77,20,140,1) 18%,
rgba(27,119,205,1) 18%,
rgba(27,119,205,1) 33%,
rgba(54,160,48,1) 33%,
rgba(54,160,48,1) 50%,
rgba(255,210,0,1) 50%,
rgba(255,210,0,1) 66%,
rgba(255,160,0,1) 66%,
rgba(255,160,0,1) 83%,
rgba(207,15,15,1) 83%,
rgba(207,15,15,1) 100%);
background-image: -o-linear-gradient(bottom,
rgba(77,20,140,1) 0%,
rgba(77,20,140,1) 18%,
rgba(27,119,205,1) 18%,
rgba(27,119,205,1) 33%,
rgba(54,160,48,1) 33%,
rgba(54,160,48,1) 50%,
rgba(255,210,0,1) 50%,
rgba(255,210,0,1) 66%,
rgba(255,160,0,1) 66%,
rgba(255,160,0,1) 83%,
rgba(207,15,15,1) 83%,
rgba(207,15,15,1) 100%);
background-image: -moz-linear-gradient(bottom,
rgba(77,20,140,1) 0%,
rgba(77,20,140,1) 18%,
rgba(27,119,205,1) 18%,
rgba(27,119,205,1) 33%,
rgba(54,160,48,1) 33%,
rgba(54,160,48,1) 50%,
rgba(255,210,0,1) 50%,
rgba(255,210,0,1) 66%,
rgba(255,160,0,1) 66%,
rgba(255,160,0,1) 83%,
rgba(207,15,15,1) 83%,
rgba(207,15,15,1) 100%);
background-image: -webkit-linear-gradient(bottom,
rgba(77,20,140,1) 0%,
rgba(77,20,140,1) 18%,
rgba(27,119,205,1) 18%,
rgba(27,119,205,1) 33%,
rgba(54,160,48,1) 33%,
rgba(54,160,48,1) 50%,
rgba(255,210,0,1) 50%,
rgba(255,210,0,1) 66%,
rgba(255,160,0,1) 66%,
rgba(255,160,0,1) 83%,
rgba(207,15,15,1) 83%,
rgba(207,15,15,1) 100%);
background-image: -ms-linear-gradient(bottom,
rgba(77,20,140,1) 0%,
rgba(77,20,140,1) 18%,
rgba(27,119,205,1) 18%,
rgba(27,119,205,1) 33%,
rgba(54,160,48,1) 33%,
rgba(54,160,48,1) 50%,
rgba(255,210,0,1) 50%,
rgba(255,210,0,1) 66%,
rgba(255,160,0,1) 66%,
rgba(255,160,0,1) 83%,
rgba(207,15,15,1) 83%,
rgba(207,15,15,1) 100%);
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.00,rgba(77,20,140,1)),
color-stop(0.18,rgba(77,20,140,1)),
color-stop(0.18,rgba(27,119,205,1)),
color-stop(0.33,rgba(27,119,205,1)),
color-stop(0.33,rgba(54,160,48,1)),
color-stop(0.50,rgba(54,160,48,1)),
color-stop(0.50,rgba(255,210,0,1)),
color-stop(0.66,rgba(255,210,0,1)),
color-stop(0.66,rgba(255,160,0,1)),
color-stop(0.83,rgba(255,160,0,1)),
color-stop(0.83,rgba(207,15,15,1)),
color-stop(1.00,rgba(207,15,15,1))
);
}
here’s what it looks like:
Latest Tweet
- learning python with http://t.co/hz8tW0Sc -- it's a slow start, but looks promising. 9 hours ago
Archives
- January 2012
- December 2011
- October 2011
- September 2011
- August 2011
- July 2011
- July 2010
- April 2010
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- March 2009
- January 2009
- December 2008
- October 2008
- September 2008
- August 2008
- April 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006





