Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: CSS
Posted by: Lori DK
Added: Jul 18, 2018 4:11 PM
Views: 6
From CSS-Tricks
  1. body { 
  2.         background: linear-gradient(to bottom, #B721FF, #2AF598, #fec051, #FEE140, #FA709A );
  3.         background-size: 100%;
  4.         background-repeat: no-repeat;
  5. }
  6.  
  7. body:before{
  8.         content:'';
  9.         position: fixed;
  10.         top: 0;
  11.         bottom: 0;
  12.         width: 100%;
  13.         z-index: -1;
  14.         background: linear-gradient(to right bottom, rgba(255,255,255,0.2), #21D4FD 75%);
  15. }
  16.