Skip to content

Instantly share code, notes, and snippets.

@lisacatalano
Created October 24, 2015 02:09
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 lisacatalano/45675510365bfa580cb7 to your computer and use it in GitHub Desktop.
Save lisacatalano/45675510365bfa580cb7 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<div class="branding">
<div class="logo"></div>
<h1>Sass Demo</h1>
</div>
<p>
Sass is a CSS extension language. You can write your CSS with the extra tools and functionality that Sass gives you, and your code is tranlated into plain CSS for the browser.
</p>
<div class="reasons">
<h2>Reasons to love Sass: </h2>
<ul>
<li>It is easy to learn and start using right away.</li>
<li>You can break your CSS up into multiple files but still only have one HTTP request. More files allows for more organized and maintainable code.</li>
<li>You can use variables. It is easy to change a color or a value in multiple places.</li>
<li>You have access to helper functions provided by Sass and you can write your own functions to do exactly what you want.</li>
<li>It makes CSS more fun.</li>
</ul>
</div>
<button>Click Me!</button>
<button>No Click Me!</button>
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
//body {
// background-color: #ccc;
// color: #444;
// font-family: sans-serif;
// font-size: .9em;
// line-height: 1.5;
// padding: 0 1em;
// }
// .logo {
// background-color: #349d9f;
// height: 60px;
// width: 60px;
// border-radius: 30px 0;
// float: left;
// margin: 0 15px 15px 0;
// }
// h1 {
// line-height: 60px;
// }
// p {
// clear: both;
// }
// .reasons {
// background-color: #fff;
// padding: .25em 1em;
// border-radius: 10px;
// box-shadow:inset 0px 0px 7px rgba(0,0,0,.7);
// margin-bottom: 1em;
// max-width: 50em;
// }
// .reasons h2 {
// color: #349d9f;
// margin: .2em;
// }
// .reasons ul {
// padding-left: 20px;
// }
// button {
// background-color: #349d9f;
// color: #fff;
// border: 0;
// border-radius: 10px;
// padding: 10px;
// font-size: 1em;
// }
// button:hover {
// background-color: #277779;
// }
<div class="branding">
<div class="logo"></div>
<h1>Sass Demo</h1>
</div>
<p>
Sass is a CSS extension language. You can write your CSS with the extra tools and functionality that Sass gives you, and your code is tranlated into plain CSS for the browser.
</p>
<div class="reasons">
<h2>Reasons to love Sass: </h2>
<ul>
<li>It is easy to learn and start using right away.</li>
<li>You can break your CSS up into multiple files but still only have one HTTP request. More files allows for more organized and maintainable code.</li>
<li>You can use variables. It is easy to change a color or a value in multiple places.</li>
<li>You have access to helper functions provided by Sass and you can write your own functions to do exactly what you want.</li>
<li>It makes CSS more fun.</li>
</ul>
</div>
<button>Click Me!</button>
<button>No Click Me!</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment