Skip to content

Instantly share code, notes, and snippets.

@robertlyall
Created March 3, 2014 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robertlyall/9324119 to your computer and use it in GitHub Desktop.
Save robertlyall/9324119 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<div class="box">Testing</div>
// ----
// Sass (v3.2.14)
// Compass (v0.12.2)
// ----
@import "compass";
$visa-blue: #062471; // digital blue
$visa-dark-blue: #0D2745;
$visa-gold: #FFA000;
$visa-neutral: #718496;
.box {
@include background(
linear-gradient($visa-dark-blue 0%, $visa-blue 40%, $visa-neutral 65%, $visa-gold 85%)
);
height: 300px;
}
.box {
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0d2745), color-stop(40%, #062471), color-stop(65%, #718496), color-stop(85%, #ffa000));
background: -webkit-linear-gradient(#0d2745 0%, #062471 40%, #718496 65%, #ffa000 85%);
background: -moz-linear-gradient(#0d2745 0%, #062471 40%, #718496 65%, #ffa000 85%);
background: -o-linear-gradient(#0d2745 0%, #062471 40%, #718496 65%, #ffa000 85%);
background: linear-gradient(#0d2745 0%, #062471 40%, #718496 65%, #ffa000 85%);
height: 300px;
}
<div class="box">Testing</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment