Skip to content

Instantly share code, notes, and snippets.

@tolja
Created November 2, 2014 16:40
Show Gist options
  • Save tolja/46c4b841d315befb44b1 to your computer and use it in GitHub Desktop.
Save tolja/46c4b841d315befb44b1 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<div id="header">das ist der header
<div class="error">das ist der
<a href="http://google.de">error</a></div>
</div>
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
$breite:50%;
#header {
background: #000000;
width:$breite;
height:80px;
.error {
color: #FFFFFF;
width:$breite;
height:50px;
&:hover {
color:#976898;
}
a {
text-decoration: none;
&:hover {
text-decoration: underline;
} } } }
#header {
background: #000000;
width: 50%;
height: 80px; }
#header .error {
color: #FFFFFF;
width: 50%;
height: 50px; }
#header .error:hover {
color: #976898; }
#header .error a {
text-decoration: none; }
#header .error a:hover {
text-decoration: underline; }
<div id="header">das ist der header
<div class="error">das ist der
<a href="http://google.de">error</a></div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment