Skip to content

Instantly share code, notes, and snippets.

@vnys
Created April 15, 2014 10:27
Show Gist options
  • Select an option

  • Save vnys/10720983 to your computer and use it in GitHub Desktop.

Select an option

Save vnys/10720983 to your computer and use it in GitHub Desktop.
Use two image-icons simultaneously in Dr. Front
#front-13 span.df-img-layer {
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 0;
left: 0
}
#front-13 span.df-img-layer a::before {
width: 80px;
height: 50px;
content: "\00a0";
background: orange;
display: block;
position: absolute;
bottom: 10px;
right: 10px;
}
#front-13 span.df-img-layer a::after {
width: 80px;
height: 80px;
content: "\00a0";
background: lime;
opacity: .8;
display: block;
position: absolute;
left: 0;
top: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment