This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

CSS gradient kind've breaks

By: a guest on Oct 25th, 2012  |  syntax: CSS  |  size: 1.10 KB  |  views: 41  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. body {    
  2.     background: rgb(178,225,255); /* Old browsers */
  3.     background: -moz-linear-gradient(top, rgba(178,225,255,1) 0%, rgba(0,133,249,1) 100%); /* FF3.6+ */
  4.     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(178,225,255,1)), color-stop(100%,rgba(0,133,249,1))); /* Chrome,Safari4+ */
  5.     background: -webkit-linear-gradient(top, rgba(178,225,255,1) 0%,rgba(0,133,249,1) 100%); /* Chrome10+,Safari5.1+ */
  6.     background: -o-linear-gradient(top, rgba(178,225,255,1) 0%,rgba(0,133,249,1) 100%); /* Opera 11.10+ */
  7.     background: -ms-linear-gradient(top, rgba(178,225,255,1) 0%,rgba(0,133,249,1) 100%); /* IE10+ */
  8.     background: linear-gradient(to bottom, rgba(178,225,255,1) 0%,rgba(0,133,249,1) 100%); /* W3C */
  9.     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b2e1ff', endColorstr='#0085f9',GradientType=0 ); /* IE6-9 */
  10. }
  11.  
  12. .container {
  13.     background-color: white;
  14.     -moz-box-shadow: 0 0 2px 1px #222222;
  15.     -webkit-box-shadow: 0 0 2px 1px #222222;
  16.     box-shadow: 0 0 2px 1px #222222;
  17.     border: 1px solid grey;
  18.     height: 430px;
  19. }
clone this paste RAW Paste Data