Skip to content

Instantly share code, notes, and snippets.

@JohnAlbin
Last active December 22, 2015 15:48
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 JohnAlbin/6494460 to your computer and use it in GitHub Desktop.
Save JohnAlbin/6494460 to your computer and use it in GitHub Desktop.
Sass & Compass, Chapter 1: The original .sass syntax
// Sass (v3.2.10)
// Compass (v0.13.alpha.4)
@import "compass"
/* Search form.
#search
border: 1px solid #666
.button
padding: 2px
border: 1px solid #666
+border-radius(5px)
color: #000
background-color: #00adee
/* Search form. */
#search {
border: 1px solid #666666;
}
#search .button {
padding: 2px;
border: 1px solid #666666;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
color: black;
background-color: #00adee;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment