Created
November 21, 2014 23:52
-
-
Save Thargelion/9e46b09e421b7b4eded1 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="derecha">leleder</div> | |
<div class="izquierda">leleizq</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
@mixin caja($ubi){ //ubi= ubicación | |
float:$ubi; | |
width: 48%; | |
height: 100vh; | |
margin: 1%; | |
} | |
.derecha{ | |
@include caja(right); | |
$oscurecer: darken(#900, 20%); | |
background: linear-gradient(#900, $oscurecer); | |
} | |
.izquierda{ | |
@include caja(left); | |
$aclarar: lighten(#030, 40%); | |
background: linear-gradient(#030, $aclarar); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.derecha { | |
float: right; | |
width: 48%; | |
height: 100vh; | |
margin: 1%; | |
background: linear-gradient(#900, #330000); | |
} | |
.izquierda { | |
float: left; | |
width: 48%; | |
height: 100vh; | |
margin: 1%; | |
background: linear-gradient(#030, lime); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="derecha">leleder</div> | |
<div class="izquierda">leleizq</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment