app.item.less 366 B

1234567891011121314151617181920212223242526272829
  1. .item{
  2. position: relative;
  3. .top{
  4. position: absolute;
  5. top: 0;
  6. left: 0;
  7. }
  8. .bottom{
  9. position: absolute;
  10. bottom: 0;
  11. left: 0;
  12. }
  13. .center{
  14. position: absolute;
  15. top:50%;
  16. }
  17. }
  18. .item-overlay{
  19. display: none;
  20. position: absolute;
  21. top: 0;
  22. right: 0;
  23. bottom: 0;
  24. left: 0;
  25. &.active,
  26. .item:hover & {
  27. display: block;
  28. }
  29. }