Skip to content

Instantly share code, notes, and snippets.

@tolja
Created November 4, 2014 21:04
Show Gist options
  • Save tolja/d68503e424f5d345daf4 to your computer and use it in GitHub Desktop.
Save tolja/d68503e424f5d345daf4 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<body><nav><center><h2>SASS IST SUPER</h2></center></nav></body>
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
// Variable anlegen und benutzen
//Globale Variable
$meineFarbe:#2b2b2b;
body{
//Lokale Variable
$breite:50%;
background-color: $meineFarbe;
width:$breite;
}
nav{
height: 30px;
background-color:white;
color:$meineFarbe;
}
body {
background-color: #2b2b2b;
width: 50%; }
nav {
height: 30px;
background-color: white;
color: #2b2b2b; }
<body><nav><center><h2>SASS IST SUPER</h2></center></nav></body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment