Skip to content

Instantly share code, notes, and snippets.

@starryeyez024
Last active December 20, 2015 18:28
Show Gist options
  • Save starryeyez024/6175788 to your computer and use it in GitHub Desktop.
Save starryeyez024/6175788 to your computer and use it in GitHub Desktop.
Quiz your Sass Knowledge!
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
// Objective #1 Resolve syntax issues so that this code compiles to CSS.
// Objective #2 Fix any potential problems this CSS could cause on redhat.com.
// Objective #3 Make the code DRY!
$gray: #333
@media screen (max-width: 480px)
.region-content
width: 600px
background-image: url(http://redhat.local/sites/all/themes/redhat/images/red-bg.png)
background-repeat: no-repeat
background-position: 0 0
#block-block-7 a
background: #333
#block-block-5 a
background: #333
#block-block-1 a
background: $gray
.region-content h2 {
@include small-title
font-size: 92em;
font-weight: bold;
color: #333
}
Inconsistent indentation: 3 spaces were used for indentation, but the rest of the document was indented using 2 spaces.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment