Advertisement
rodro1

is_loading class overlay before after

Jul 2nd, 2021
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1.  
  2. .is_loading{
  3. min-height: 200px;
  4. }
  5.  
  6.  
  7.  
  8. .is_loading:after{
  9. /* min-height: 220px; */
  10. z-index: 1;
  11. content: "";
  12. width: 100%;
  13. height: 100%;
  14. background: #ffffff;
  15. top: 0;
  16. right: 0;
  17. position: absolute;
  18. display: inline-block;
  19. }
  20.  
  21. .is_loading:before{
  22. z-index: 2;
  23. content: "";
  24. width: 100%;
  25. height: 100%;
  26. background:
  27. url("/images/loading.gif") /* image */
  28. center 10% / 100px 100px /* position / size */
  29. no-repeat;
  30. /* top: 0; */
  31. /* right: 0; */
  32. position: absolute;
  33. display: inline-block;
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement