Skip to content

Commit

Permalink
fix: improve lazyload fade in effect, fixes #71
Browse files Browse the repository at this point in the history
  • Loading branch information
selul committed Jan 21, 2019
1 parent 1847866 commit eb0f76c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions inc/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ public function inline_bootstrap_script() {
-o-transition: .2s filter linear, .2s opacity linear, .2s border-radius linear;
}
img[data-opt-src].optml_lazyload_img {
opacity: .5;
opacity: .75;
filter: blur(5px);
border-radius: 5%%; /* We need 2x% (i.e %%) because sprintf removes one on echo */
}
</style>
<script type="application/javascript">
Expand Down

0 comments on commit eb0f76c

Please sign in to comment.