Skip to content

Instantly share code, notes, and snippets.

View rzahner's full-sized avatar
:octocat:

Reto Zahner rzahner

:octocat:
  • 7000 Chur, Switzerland
  • 14:16 (UTC +02:00)
View GitHub Profile
@rzahner
rzahner / SASS-Platzhalter-Selektor.scss
Last active December 26, 2015 10:29
Beispiel zur Demonstration von Platzhalter Selektoren in SASS Web Professional - CSS-Vertiefung
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.7)
// ----
%message {
border: 1px solid;
padding: 1em;
}
@rzahner
rzahner / SASS-Vererbung.html
Created October 24, 2013 13:13
Beispiel zur Demonstration der Vererbung in SASS Web Professional - CSS-Vertiefung
<p class="message">
Fehlermeldung
</p>
<p class="error">
Fehlermeldung
</p>
<p class="success">
Erfolgsmeldug
@rzahner
rzahner / SASS-Mixins.html
Created October 24, 2013 12:58
Beispiel zur Verwendung eines Mixins in Sass Web Professional - CSS-Vertiefung
<article id="s0">
<h1>Artikel 0</h1>
<p>Blah Blah...</p>
</article>
<article id="s1">
<h1>Artikel 1</h1>
<p>Blah Blah...</p>
</article>
<article id="s2">
<h1>Artikel 2</h1>
@rzahner
rzahner / SASS-Verschachtelung.html
Last active December 26, 2015 10:28
Beispiel zur Verschachtelung von HTML Web Professional - CSS Vertiefung
<dic class="error">
<h1>Fehlermeldung</h1>
<p>
<a href="#irgendwo">Link</a> normaler Text
</p>
</dic>
@rzahner
rzahner / SASS-Variables.scss
Last active December 26, 2015 10:19
Beispiel für den einfachen Einsatz von Variablen in SASS Web Professional - CSS Vertiefung
// ----
// Sass (v3.3.3)
// Compass (v1.0.0.alpha.18)
// ----
$theme-font-size: 16px;
$theme-font-color: #333;
$theme-background-color: lighten($theme-font-color, 75%);
body {