mekasu0124

Untitled

Feb 18th, 2024
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.20 KB | None | 0 0
  1. .el {
  2.     width: 200px;
  3.     height: 200px;
  4.     border-radius: 50%;
  5.     position: relative;
  6.     overflow: hidden;
  7.     border: 2px solid #24de45;
  8.     margin-top: 40px;
  9. }
  10.  
  11. .el:after {
  12.     content: 'Mekasu';
  13.     position: absolute;
  14.     bottom: 0;
  15.     left: 0;
  16.     width: 100%;
  17.     height: 30px;
  18.     background: darkgray;
  19.     text-align: center;
  20.     line-height: 30px;
  21.     color: black;
  22. }
  23.  
  24. .centerImage {
  25.     display: block;
  26.     overflow: hidden;
  27.     position: relative;
  28.     text-align: center;
  29. }
  30.  
  31. .centerImage img {
  32.     bottom: 0;
  33.     left: 0;
  34.     margin: auto;
  35.     max-height: 100%;
  36.     max-width: 100%;
  37.     position: absolute;
  38.     right: 0;
  39.     top: 0;
  40. }
  41.  
  42. .collapsible {
  43.     background-color: black;
  44.     border-radius: 10px;
  45.     color: #24de45;
  46.     cursor: pointer;
  47.     padding: 18px;
  48.     width: 100%;
  49.     border: none;
  50.     text-align: left;
  51.     outline: none;
  52.     font-size: 15px;
  53. }
  54.  
  55. .active, .collapsible:hover {
  56.     background-color: black;
  57. }
  58.  
  59. .content {
  60.     padding: 0 18px;
  61.     display: none;
  62.     overflow: hidden;
  63.     background-color: darkgray;
  64.     border: 2px solid darkgray;
  65.     border-radius: 20px;
  66.     padding: 10px;
  67.     box-shadow: 2px 4px 6px #24fe45;
  68. }
Advertisement
Add Comment
Please, Sign In to add comment