Skip to content

Instantly share code, notes, and snippets.

@leohxj
Created April 6, 2016 01:37
Show Gist options
  • Select an option

  • Save leohxj/97e921d9881a5d556f75769beeddbfff to your computer and use it in GitHub Desktop.

Select an option

Save leohxj/97e921d9881a5d556f75769beeddbfff to your computer and use it in GitHub Desktop.
视觉稿还原蒙层
<!-- add a perfect pixel layer [[ -->
<div class="perfect-pixel" style="display:none;position: absolute; z-index: 2147483646; width: 100%; height: auto; cursor: all-scroll; pointer-events: none; margin: 0 auto; margin-left: -50%; top: 0; left: 50%; min-width: 1190px; opacity: 0.3; background-color: transparent;">
<img src="temp/index-1190x.jpg" alt="" style="position: relative; margin: 0 auto; padding: 0px; display: block; height: auto;">
</div>
<!-- add a perfect pixel layer ]] -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment