Advertisement
neongm

book container css

Apr 29th, 2021
845
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.01 KB | None | 0 0
  1. $cont_width: 200px;
  2. $cont_height: 330px;
  3. $content_cont_height: 100px;
  4.  
  5. img{
  6.     width: $cont_width;
  7.     height: $cont_height;
  8.     z-index: 0;
  9. }
  10.  
  11. .book_container{
  12.     //padding: 2px;
  13.     width: $cont_width;
  14.     background: #212121;
  15.     position: relative;
  16.     box-shadow: 0px 3px 10px #00000065;
  17. }
  18.  
  19. .book__content_container{
  20.     z-index: 999;
  21.     position: absolute;
  22.     bottom: 0px;
  23.     width: $cont_width;
  24.     height: $content_cont_height;
  25.     background: #21212165;
  26.     padding: 0px 0px;
  27.     color: #fff;
  28.     font-weight: 200;
  29.     font-size: 16pt;
  30.     transition: 0.1s ease-out;
  31.     &:hover{
  32.         background: #212121f1;
  33.     }
  34.  
  35. }
  36. .book_year{
  37.     padding: 0px 10px;
  38. }
  39. .book_name{
  40.     padding: 5px 10px;
  41. }
  42.  
  43. .delete_button{
  44.     position: absolute;
  45.     top: 0px;
  46.     z-index: 999999;
  47.     right: 0px;
  48.     border: none;
  49.     background: #21212165;
  50.     width: 40px;
  51.     height: 30px;
  52.    
  53.     cursor: pointer;
  54.     &:hover{
  55.         background: #ff212165;
  56.         color: #fff;
  57.     }
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement