6
respostas

Sprite aparece só uma imagem

O icone check não aparece, tem o sprite-icone-check e o position 0, 0, mas não aparece na tela e não aparece o caminho da imagem também.

6 respostas

Esta dando algum erro no console do navegador ? Primeiramente certifique-se de que a imagem foi carregada.

Não.

Quando eu inspeciono aparece isso no ícone do x vermelho:

.itens-plano span {
    float: right;
}
.sprite-icone-check, .sprite-icone-x {
    width: 18px;
    height: 18px;
}
.sprite-icone-x {
    background-position: 0 -23px;
}
.sprite-sprite, .sprite-icone-ok, .sprite-icone-x {
    background-image: url('../imagens/sprite-s1e035a9ecf.png');
    background-repeat: no-repeat;
}

Quando inspeciono o verde, aparece isso:

.itens-plano span {
    float: right;
}

.sprite-icone-check, .sprite-icone-x {
    width: 18px;
    height: 18px;
}
Inherited from li
.itens-plano li {
    font-size: 1em;
    list-style: none;
    border-bottom: 1px solid #acacac;
    padding: .5em;
    width: 14.8em;
}

Nenhum dos dois icones esta aparecendo ?

Adicionou a classe certa no HTML ?

Onde esta seu arquivo .css e onde esta seu sprite ?

Aparece somente o x. Não sei se eu pulei alguma etapa...

Arquivo html:

<!DOCTYPE html>
<html lang="pt-br">
<head>
    <meta charset="UTF-8">
    <title>Index</title>
    <link rel="stylesheet" href="css/estilos.css">
    <link href='http://fonts.googleapis.com/css?family=Roboto+Slab:400,300,700' rel='stylesheet' type='text/css'>
</head>
<body>
    <header>
        <div class="container">
            <h1>
                <img src="imagens/logo.png" alt="Logotipo Apeperia">
            </h1> 
            <nav class="menu-principal">
                <ul>
                    <li><a href="#">sobre</a></li>
                    <li><a href="#">planos</a></li>
                    <li><a href="#">blog</a></li>
                    <li><a href="#">contato</a></li>
                </ul>
            </nav>
        </div>
    </header>



    <section class="destaque">
        <div class="container">
            <p>
                Aplicativos sob medida, para pequenas e médias empresas
            </p>

            <p>
                A Apeperia é o jeito inovador de se comprar apps, você assina um plano, nós criamos os apps e fazemos toda a manutenção!
            </p>

            <button>
                Conheça nossos planos
            </button>
        </div>
    </section>

    <section class="sobre">
        <div class="container">
            <h2 class="titulo-secao">Sobre</h2>
            <div class="duas-colunas">
                <h3>O que fazemos</h3>

                <p>No Apeperia, nós criamos aplicativos personalizados de uma maneira diferente,    preocupados com o modelo atual em que um aplicativo é criado entregue e a manutenção é vista como um custo extra para o cliente, decidimos criar um novo modelo de negocios, em que você assina nosso serviço, nós criamos o aplicativo e a manutenção já é inclusa no serviço, dessa maneira você não se preocupa em ter o app sempre na versão mais atualizada.</p>

                <p>Com equipes especializadas, equipes exclusivas para projetos especiais agora é a hora da sua empresa ter o próprio aplicativo com qualidade.</p>

                <h3>Múltiplas plataformas</h3>

                <p>Na Apeperia não temos preconceito com nenuma plataforma, fazemos apps fantásticos para qualquer device!</p>

                <p>Não importa se você quer um app para iOS, Android, Windows Phone ou Blackberry. Nós sabemos fazer!</p>

                <ul class="plataformas">
                    <li>Apple</li>
                    <li>Android</li>
                    <li>Windows Phone</li>
                    <li>BlackBerry</li>
                </ul>
            </div>
        </div>
    </section>

    <section class="planos">
        <div class="container">
            <h2 class="titulo-secao">Planos</h2>
            <div class="plano">
                <h3>Plano Básico</h3>
                <div>R$ 500,00</div>
                    <ul class="itens-plano">
                        <li>Aplicativos<span>1</span></li>
                        <li>Manutenções Programadas<span>5</span></li>
                        <li>Helpdesk 24hs<span class="sprite-icone-x"></span></li>
                        <li>App SEO<span class="sprite-icone-check"></span></li>
                        <li>Atendente Exclusivo<span class="sprite-icone-x"></span></li>
                        <li>Sistema Operacional<span>1</span></li>
                    </ul>
                    <button class="btn-padrao">Comprar</button>
                </div>
            <div class="plano">
                <h3>Plano Enterprise</h3>
                <div>R$ 1500,00</div>
                    <ul class="itens-plano">
                        <li>Aplicativos<span>3</span></li>
                        <li>Manutenções Programadas<span>20</span></li>
                        <li>Helpdesk 24hs<span class="sprite-icone-check"></span></li>
                        <li>App SEO<span class="sprite-icone-check"></span></li>
                        <li>Atendente Exclusivo<span class="sprite-icone-x"></span></li>
                        <li>Sistema Operacional<span>3</span></li>
                    </ul>
                    <button class="btn-padrao">Comprar</button>
                </div>
            <div class="plano">
                <h3>Plano Corporation</h3>
                <div>R$ 9500,00</div>
                    <ul class="itens-plano">
                        <li>Aplicativos<span>5</span></li>
                        <li>Manutenções Programadas<span>∞</span></li>
                        <li>Helpdesk 24hs<span class="sprite-icone-check"></span></li>
                        <li>App SEO<span class="sprite-icone-check"></span></li>
                        <li>Atendente Exclusivo<span class="sprite-icone-x"></span></li>
                        <li>Sistema Operacional<span>6</span></li>
                    </ul>
                    <button class="btn-padrao">Comprar</button>
                </div>
        </div>
    </section>    

    <section class="blog">
        <div class="container">
            <h2 class="titulo-secao">Blog</h2>
            <section class="post-destaque">
                <article>
                    <img src="imagens/foto-post.jpg" alt="">
                    <h3>iOS ou Android?</h3>
                    <p>
                        Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus soluta fugiat officia consectetur quas rem ducimus recusandae repellat quaerat dignissimos nam iure, voluptatem ex atque pariatur molestiae maiores, ea nulla!
                    </p>
                </article>
            </section>
            <section class="posts-antigos">
                <a href="#">Postagens antigas</a>
                <article>
                    <h3>Resoluções de iPhones</h3>
                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt architecto libero officia ut molestias culpa velit consequuntur quae.</p>
                </article>
                <article>
                    <h3>Blackberry morreu?</h3>
                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt architecto libero officia ut molestias culpa velit consequuntur quae.</p>
                </article>
                <article>
                    <h3>Nokia + Microsoft = 3</h3>
                    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt architecto libero officia ut molestias culpa velit consequuntur quae.</p>
                </article>
            </section>
        </div>
    </section>

    <section class="contato">
        <div class="container">
            <h2 class="titulo-secao">Contato</h2>
            <form action="">
                <input type="text" placeholder="Digite seu nome...">
                <input type="email" placeholder="Digite seu e-mail...">
                <input type="text" placeholder="Digite o assunto...">

                <textarea name="" id="" cols="30" rows="10" placeholder="Mensagem..."></textarea>

                <button>Enviar</button>
            </form>

        </div>
    </section>

    <footer>
        <div class="container">
            <img src="imagens/logo.png" alt="">
            <nav class="menu-rodape">
                <ul>
                    <li><a href="#">Home</a></li>
                    <li><a href="#">Sobre</a></li>
                    <li><a href="#">Planos</a></li>
                    <li><a href="#">Blog</a></li>
                    <li><a href="#">Contato</a></li>
                </ul>
            </nav>

            <ul class="social">
                <li><a href="http://www.facebook.com">Facebook</a></li>
                <li><a href="http://www.twitter.com">Twitter</a></li>
                <li><a href="http://www.instagram.com">Instagram</a></li>
            </ul>
        </div>
    </footer>

</body>
</html>

Arquivo css:

.sprite-sprite, .sprite-icone-ok, .sprite-icone-x {
  background-image: url('../imagens/sprite-s1e035a9ecf.png');
  background-repeat: no-repeat;
}

.plataformas li, .social li a {
  text-indent: -9999px;
  overflow: hidden;
  background-repeat: no-repeat;
}

.plano button, .contato button {
  -webkit-box-shadow: 0 2px 6.65px 0.35px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 6.65px 0.35px rgba(0, 0, 0, 0.3);
}

/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/**
 * Remove default margin.
 */
body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */
audio,
canvas,
progress,
video {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */
[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */
/**
 * Remove the gray background color from active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */
/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */
b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */
dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9/10.
 */
img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */
svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari.
 */
figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */
pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */
/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */
/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  /* 1 */
  font: inherit;
  /* 2 */
  margin: 0;
  /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */
button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */
textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */
optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/** Geral **/
body {
  font-family: "Roboto Slab", serif;
}

.container {
  width: 940px;
  margin: 0 auto;
}
@media (max-width: 980px) {
  .container .container {
    width: 90%;
  }
}

.titulo-secao {
  text-decoration: underline;
  font-size: 2em;
  text-align: center;
}

.sobre,
.planos,
.blog,
.contato {
  padding: 3em 0 6em 0;
}

h2 {
  margin-top: 0;
}

/** Header **/
header {
  border-top: 5px solid #66DDDD;
  background: rgba(30, 44, 53, 0.8);
  height: 90px;
  width: 100%;
  position: absolute;
}
@media (max-width: 980px) {
  header {
    height: auto;
  }
  header h1 {
    max-width: 50%;
    margin: 0 auto;
  }
  header h1 img {
    max-width: 100%;
    margin: .5em auto;
    display: block;
  }
}

header .container {
  position: relative;
}
@media (max-width: 980px) {
  header .container {
    position: static;
  }
}

.menu-principal {
  position: absolute;
  right: 0;
  top: -.5em;
  font-size: 1.2em;
  font-weight: lighter;
}
@media (max-width: 980px) {
  .menu-principal {
    position: static;
    display: block;
    text-align: center;
    width: auto;
  }
}
.menu-principal ul {
  padding-left: 0;
}
.menu-principal li {
  display: inline-block;
  width: 5em;
}
@media (max-width: 980px) {
  .menu-principal li {
    margin: .4em;
    width: auto;
  }
}
.menu-principal a {
  color: white;
  text-decoration: none;
}
.menu-principal a:hover {
  text-decoration: underline;
}

/** Destaque **/
.destaque {
  background: url(../imagens/destaque.jpg) center bottom repeat-x;
  -webkit-background-size: cover;
  background-size: cover;
  color: white;
  height: 330px;
  padding-top: 10em;
}
@media (max-width: 980px) {
  .destaque {
    font-size: 14px;
    height: 250px;
  }
}

.destaque p {
  width: 30em;
}

.destaque p:first-child {
  width: 30em;
  font-size: 1.3em;
  line-height: 1.1;
}

.destaque p:first-child:first-line {
  font-size: 2.2em;
  font-weight: bold;
}

.destaque button {
  margin-top: 1em;
  background: #66DDDD;
  border: 0;
  padding: .6em;
  font-size: 1.2em;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -o-border-radius: 50px;
  -ms-border-radius: 50px;
  border-radius: 50px;
  -moz-box-shadow: black 0 2px 6.65px;
  -webkit-box-shadow: black 0 2px 6.65px;
  box-shadow: black 0 2px 6.65px;
  font-weight: bold;
}

/** Sobre **/
.sobre {
  background: #ebebeb;
}

.duas-colunas {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  columns: 1;
}

.duas-colunas h3 {
  margin: 0;
}

.sobre p {
  font: .9em/1.8 sans-serif;
}

.sobre p:first-child {
  margin-bottom: 3em;
}

.plataformas {
  padding: 0;
}

.plataformas li {
  display: inline-block;
  width: 50px;
  height: 60px;
  background-position: center;
  margin: 1em 1.5em 0 0;
}

.plataformas li:nth-child(1) {
  background-image: url(../imagens/logo-apple.png);
}

.plataformas li:nth-child(2) {
  background-image: url(../imagens/logo-android.png);
}

.plataformas li:nth-child(3) {
  background-image: url(../imagens/logo-windows.png);
}

.plataformas li:nth-child(4) {
  background-image: url(../imagens/logo-blackberry.png);
}

/** Planos **/
.planos {
  background: #1e2c35;
}

.planos h2 {
  color: #fff;
}

.plano {
  background: white;
  width: 18em;
  display: inline-block;
  margin: 1em 0 0 1.4em;
  padding-bottom: 2em;
}

.plano:hover {
  background: #dedede;
}

.plano h3 {
  color: #fff;
  font-size: 1.8em;
  background: #66DDDD;
  text-align: center;
  height: 2em;
  padding-top: .6em;
  margin-top: 0;
}

.plano div {
  text-align: center;
  color: #66DDDD;
  font-size: 2.75em;
}

.itens-plano {
  padding-left: 1.2em;
}
.itens-plano li {
  font-size: 1em;
  list-style: none;
  border-bottom: 1px solid #acacac;
  padding: .5em;
  width: 14.8em;
}
.itens-plano li:last-child {
  border: 0;
}
.itens-plano span {
  float: right;
}

.plano button {
  background: #66DDDD;
  border: 0;
  color: #fff;
  width: 210px;
  height: 38px;
  font-size: 1.2em;
  -webkit-border-radius: 0.3em;
  -moz-border-radius: 0.3em;
  -o-border-radius: 0.3em;
  -ms-border-radius: 0.3em;
  border-radius: 0.3em;
  margin-left: 2em;
}

.sprite-icone-ok {
  background-position: 10px 10px;
}

.sprite-icone-x {
  background-position: 0 -23px;
}

.sprite-icone-check, .sprite-icone-x, sprite-icone-ok {
  width: 18px;
  height: 18px;
}

/** Blog **/
.blog {
  display: block;
  position: relative;
}

.blog::after {
  content: "";
  background: url(../imagens/fundo.png);
  background-size: 25px 25px;
  opacity: .15;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

.post-destaque,
.posts-antigos {
  width: 48%;
  display: inline-block;
  vertical-align: top;
}
@media (max-width: 980px) {
  .post-destaque,
  .posts-antigos {
    width: auto;
  }
}

.post-destaque {
  margin-right: 2em;
}

.post-destaque img {
  width: 100%;
}

.posts-antigos a {
  text-decoration: none;
  color: black;
  background: url(../imagens/icone-relogio.png) left center no-repeat;
  padding-left: 2.5em;
  height: 1.7em;
  display: block;
}

.posts-antigos a:hover {
  text-decoration: underline;
}

/** Contato **/
.contato input,
.contato button {
  display: block;
}

form {
  margin: 0 auto;
  width: 50%;
}
@media (max-width: 980px) {
  form {
    width: auto;
  }
}

.contato input,
textarea {
  width: 100%;
  margin-bottom: .8em;
  padding: 4px 8px;
  -webkit-border-radius: 0.3em;
  -moz-border-radius: 0.3em;
  -o-border-radius: 0.3em;
  -ms-border-radius: 0.3em;
  border-radius: 0.3em;
  border: 2px solid #ccc;
}

.contato button {
  margin: 0 auto;
  background: #66DDDD;
  border: 0;
  color: #fff;
  width: 210px;
  height: 38px;
  font-size: 1.2em;
  -webkit-border-radius: 0.3em;
  -moz-border-radius: 0.3em;
  -o-border-radius: 0.3em;
  -ms-border-radius: 0.3em;
  border-radius: 0.3em;
}

/** Footer **/
footer {
  display: block;
  position: relative;
}

footer::after {
  content: "";
  background: url(../imagens/fundo-rodape.png);
  opacity: .02;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

footer::before {
  content: "";
  background: #1e2c35;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

footer .container {
  padding-top: 3em;
  height: 6.5em;
  position: relative;
}

footer .container img {
  width: 250px;
}

.menu-rodape,
.social {
  position: absolute;
}

.menu-rodape ul li {
  display: inline-block;
  margin-left: 2em;
}

.menu-rodape {
  top: 1em;
  right: 0;
}

.social {
  bottom: 0;
  right: 0;
}

.menu-rodape li,
.social li {
  display: inline;
}

footer a {
  color: #fff;
  text-decoration: none;
}

.social li {
  float: left;
}

.social li a {
  display: block;
  width: 55px;
  height: 55px;
  margin-left: 1em;
}

.social a {
  background-position: top;
  background-size: 50px 50px;
}

.social a[href*="facebook"] {
  background-image: url(../imagens/facebook.png);
}

.social a[href*="twitter"] {
  background-image: url(../imagens/twitter.png);
}

.social a[href*="instagram"] {
  background-image: url(../imagens/instagram.png);
}

Eu também tive esse problema. O Compass vai criar as classes de acordo com o nome das imagens. Na pasta, a imagem do ícone verde está como "icone-ok", porém no arquivo HTML está "icone-check", por isso não é exibido. Tem que padronizar tudo para o mesmo nome.

Se como eu a imagem que aparecia era somente a vermelha e não a verde, temos o mesmo problema. Assistindo as aulas novamente procurando onde eu poderia ter errado, acabei percebendo que o compass estava criando um código com nome errado, pois o pessoal do curso enviou para gente um arquivo com nome errado, ou seja o arquivo referente ao icone-ckeck está com o nome icone-ok, que foi usado para gerar o sprite automaticamente e os códigos.

Para resolver o problema, mude o nome do arquivo para icone-check.png e compile o código novamente para ser gerado outro .css.

Pronto, agora o compass deve gerar um código correto.